A plane in Hessian normal form.
Represents a normalized plane equation. normal is the normal of the plane (a, b, c normalized), and d is the distance from the origin to the plane (in the direction of "normal"). "Over" or "Above" the plane is considered the side of the plane towards where the normal is pointing.
Note: In a boolean context, a plane will evaluate to false if all its components equal 0. Otherwise, a plane will always evaluate to true.
The distance from the origin to the plane, expressed in terms of normal (according to its direction and magnitude). Actual absolute distance from the origin to the plane can be calculated as abs(d) / normal.length() (if normal has zero length then this Plane does not represent a valid plane).
In the scalar equation of the plane ax + by + cz = d, this is [code skip-lint]d[/code], while the (a, b, c) coordinates are represented by the normal property.
Returns the shortest distance from the plane to the position point. If the point is above the plane, the distance will be positive. If below, the distance will be negative.
Returns the intersection point of the three planes b, c and this plane. If no intersection is found, null is returned.
Returns the intersection point of a ray consisting of the position from and the direction normal dir with this plane. If no intersection is found, null is returned.
Returns the intersection point of a segment from position from to position to with this plane. If no intersection is found, null is returned.
Returns true if this plane and to_plane are approximately equal, by running is_equal_approx() on each component.
Returns true if this plane is finite, by calling is_finite() on each component.
A plane that extends in the Y and Z axes (normal vector points +X).