Defines the base of surfaces that interact with rays.
Arguments
When this is called, the surface will no longer be queried on the results of the latest trace iteration, so it can discard internal data to relieve memory pressure.
Returns the geometry-manager instance. May be useful for introspection. Note that it is a read-only attribute.
Returns the optics-manager callable. May be useful for introspection. Note that it is a read-only attribute.
Generates a new ray bundle, which is the reflections/refractions of the
Returns
a RayBundle object with the new bundle, with vertices on the surface and directions according to optics laws.
Transform a set of points in the global coordinates back into the frame used during tracing.
Arguments
returns
Represent the surface as a mesh in global coordinates.
Arguments
Returns
x, y, z - each a 2D array holding in its (i,j) cell the x, y, and z coordinate (respectively) of point (i,j) in the mesh.
Records the incoming ray bundle, and uses the geometry manager to return the parametric positions of intersection with the surface along the ray.
Arguments
Returns A 1D array with the parametric position of intersection along each of the rays. Rays that missed the surface return +infinity.
Informs the geometry manager that only the specified rays are to be used henceforth.
Arguments