The returned value is not normalized.
Returns true if the given point is on this plane
The point to test for containment
Note that the numbers returned are for display purposes only, and are not precise enough to guarantee exact re-creation.
A string of the form plane[n<x, y, z>, d=n]
Returns the signed distance from this plane to the given point, with positive values along the plane normal.
The point to measure to
Returns a new plane that is flipped in the normal.
A new plane that is coplanar, but opposite normal to this.
Returns the three.js implementation object. Note that this is called
Plane3
here, but called Plane
in three.js.
Intersects the line with this plane. Possible outcomes:
The line to intersect with
Set to true if line should be treated as infinite Note: It was discovered on 22-Aug-2019 that the three.js implementation of Plane.intersectLine only does the line segment, we thus use our own function here which has the benefit of detecting all degenerate conditions and reporting them back.
Intersects a mesh with this and ideally returns a set of Polygons.
A mesh.
Intersects this plane with another. Possible outcomes:
Returns true if plane as the same normal and constant as this one
The plane to compare to
Compute the plane from the first 3 non-collinear points in the input. If no points or 3 collinear points cannot be found, will return a "best guess" plane based on what is available. Nothing gives an XY plane.
Only the first 3 non-collinear points are used. There is no attempt made to try to "fit" a plane to all the points.
The list of points.
Optional. If supplied, defines the plane normal to use.
Plane is a pure geometry object. It is used for geometric computations within rules. It is based on the three.js Plane object.