Plane
A two dimensional surface that extends infinitely in 3D space, represented in Hessian normal form by a unit length normal vector and a constant.
The plane is mutable and not thread-safe; confine an instance (and any object graph holding it) to a single thread, exactly as in three.js.
The constructor stores the given normal by reference (it does not copy it). Sharing that vector with another object means later mutations are visible through every alias; use set/setComponents or clone for independent storage.
Constructors
Properties
Functions
Applies a 4x4 matrix matrix to the plane. The matrix must be an affine, homogeneous transform.
Writes a coplanar vector to the plane into target, by calculating the projection of the normal at the origin onto the plane.
Returns the signed distance from the given point to this plane.
Returns the signed distance from the given sphere to this plane.
Returns true if the given bounding box box intersects with the plane.
Returns true if the given line segment line intersects with (passes through) the plane.
Returns true if the given bounding sphere sphere intersects with the plane.