dtcc.Surface.ray_intersection(origin: ndarray, direction: ndarray) → ndarray Compute the intersection points of a ray with a surface. Parameters:¶ s : SurfaceThe surface. origin : np.ndarray¶The origin of the ray. direction : np.ndarray¶The direction of the ray. Returns:¶ The intersection points. Return type:¶ np.ndarray