Plane3¶
Overview¶
A mathematical plane in 3 dimensions determined by a normal vector to the plane and the distance to the closest point on the plane to the origin
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class Plane3¶
Constructor¶
new Plane3( normal : Vector3, distance : number )¶
Instance Methods¶
intersectWithRay( ray : Ray3 ) : Vector3¶
getIntersection( plane : Plane3 ) : Ray3 | null¶
Instance Properties¶
normal : Vector3¶
distance : number¶
Static Methods¶
fromTriangle( a : Vector3, b : Vector3, c : Vector3 ) : Plane3 | null¶
Returns a new plane that passes through three points \((\vec{a},\vec{b},\vec{c})\) The normal of the plane points along \(\vec{c-a} \times \vec{b-a}\) Passing three collinear points will return null
@param a - first point @param b - second point @param c - third point
Static Properties¶
XY : Plane3¶
(readonly)
XZ : Plane3¶
(readonly)
YZ : Plane3¶
(readonly)