Trims the SphericalGM by only selecting intersection points inside a bounding volume. This GM still can’t supply a mesh of itself.
Arguments
Trims the SphericalGM by only selecting intersection points in the lower hemisphere (z < 0).
Arguments
Private attributes:
Represent the surface as a mesh in local coordinates. Uses spherical- coordinates bins, i.e. the points are equally distributed by two angles, not by x,y.
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.
Implements the geometry of a spherical surface below the xy plane (so that rays going down the Z axis hit). To be used as a base class for spherical surfaces that select different hit-points. Otherwise, this is a closed sphere.
Arguments
Private attributes:
Determines the variables forming the relevant quadric equation. Used by the quadrics class, [1]
Represent the surface as a mesh in local coordinates. Uses spherical- coordinates bins, i.e. the points are equally distributed by two angles, not by x,y.
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.