Compute the intersection points of a ray with a MultiSurface.
- Parameters:
- ms : MultiSurface
The MultiSurface.
- origin : np.ndarray
The origin of the ray.
- direction : np.ndarray
The direction of the ray.
- Returns:
The intersection points.
- Return type:
np.ndarray