NPlane Type
An immutable un-parametrized plane defined by a point and a normal vector. As opposed to the PPlane this plane is not parametrized in a X, Y and Z direction. Note: Never use the struct default constructor NPlane() as it will create an invalid zero Plane. Use NPlane.create or Plane.createUnchecked instead.
Record fields
Record Field |
Description
|
The unitized normal of the Plane.
|
|
The center point of the Plane.
|
Instance members
Instance member |
Description
|
|
Returns the angle to a Line3D in Degree, ignoring the normal's orientation. So 0.0 if the line is parallele to the Plane. And 90 degrees if the line is perpendicular to the plane.
|
|
Returns the angle to another Plane in Degree, ignoring the normal's orientation. So 0.0 if the planes are parallel. And 90 degrees if the planes are perpendicular to ech other.
|
|
Returns the angle to 3D unit-vector in Degree, ignoring the plane's orientation. So 0.0 if the vector is parallele to the Plane. And 90 degrees if the vector is perpendicular to the plane.
|
|
Returns the angle to 3D vector in Degree, ignoring the plane's orientation. So 0.0 if the vector is parallele to the Plane. And 90 degrees if the vector is perpendicular to the plane.
|
|
|
|
Returns signed distance of point to plane, also indicating on which side it is.
|
|
Returns a new Plane with the same Origin but flipped Normal.
|
Full Usage:
this.IsCoincidentTo
Parameters:
NPlane
?distanceTolerance : float
?minCosine : MeasureProduct<cosine, MeasureOne>
Returns: bool
Modifiers: inline |
Checks if two Planes are coincident within the distance tolerance. 1e-6 by default. This means that their Z-axes are parallel within the angle tolerance and the distance of second origin to the first plane is less than the distance tolerance. The default angle tolerance is 0.25 degrees. This tolerance can be customized by an optional minium cosine value. See Euclid.Cosine module.
|
|
Static members
Static member |
Description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gets the Plane at world origin with normal in world Z direction.
|