Solid.compute_intersect¶
giant.ray_tracer.shapes.solid
:
- Solid.compute_intersect()¶
This method computes the intersections between a ray and the geometry defined by the class, returning the results as a numpy array with type
INTERSECT_DTYPE
.- Parameters
ray (Rays) – The ray to trace
- Returns
The intersection result as a length 1 numpy array of type
INTERSECT_DTYPE
- Return type
np.ndarray