Line
Represents a line in Cartesian coordinates.
Constructors
Properties
Functions
Computes the Cartesian intersection point(s) of a specified line with a non-indexed list of triangle vertices.
Sets this line to the specified segment. This line has its origin at the first endpoint and its direction extending from the first endpoint to the second.
Computes the first intersection of a triangle strip with this line. This line is interpreted as a ray; intersection points behind the line's origin are ignored.
The triangle strip is specified by a list of vertex points and a list of elements indicating the triangle strip tessellation of those vertices. The triangle strip elements are interpreted in the same manner as OpenGL, where each index indicates a vertex position rather than an actual index into the points array (e.g. a triangle strip index of 1 indicates the XYZ tuple starting at array index 3).