Read-only flag to check if a given object is of type Plane.
Apply a Matrix4 to the plane. The matrix must be an affine, homogeneous transform.If supplying an optionalNormalMatrix, it can be created like so:
const optionalNormalMatrix = new Matrix3().getNormalMatrix( matrix );
This instance
Create a new plane with the same normal and constant as this one.
The enw instance.
Compute the signed distance from the point to the plane.
The signed distance value.
The point to measure to.
Compute the signed distance from the sphere to the plane.
The signed distance value.
The sphere surface to measure to.
Checks to see if two planes are equal (their normal and constant properties match).
True if value-wise equal.
The plane to compare with.
Compute the intersection point of the passed line and the plane.
null if the line does not intersect; otherwise returns the line's starting point if the line is coplanar with the plane.
Determines whether or not this plane intersects box.
True if box and this plane intersect.
the Box3 to check for intersection.
Tests whether a line segment intersects with (passes through) the plane.
True if the line intersect this plane.
the Line3 to check for intersection.
Determines whether or not this plane intersects a sphere.
True if sphere and this plane intersect.
the Sphere to check for intersection.
Negates both the normal vector and the constant.
This instance.
Normalizes the normal vector, and adjusts the constant value accordingly.
This instance.
Set the individual components that define the plane.
This instance.
x value of the unit length normal vector.
y value of the unit length normal vector.
z value of the unit length normal vector.
the value of the plane's constant property.
Defines the plane based on the 3 provided points. The winding order is assumed to be counter-clockwise, and determines the direction of the normal.
This instance.
A two dimensional surface that extends infinitely in 3d space, represented in Hessian normal form by a unit length normal vector and a constant.