Public Member Functions | |
Plane (Plane plane) | |
Plane (Vector3 normal, float constant) | |
Plane (Vector3 normal, Vector3 point) | |
PlaneSide | GetSide (Vector3 point) |
float | GetDistance (Vector3 point) |
override string | ToString () |
Properties | |
Vector3 | Normal |
float | D |
This equates to a vector (the normal of the plane, whose x, y and z components equate to the coefficients A, B and C respectively), and a constant (D) which is the distance along the normal you have to go to move the plane back to the origin.
|
This is a pseudodistance. The sign of the return value is positive if the point is on the positive side of the plane, negative if the point is on the negative side, and zero if the point is on the plane. The absolute value of the return value is the true distance only when the plane normal is a unit length vector. |
|
The distance from the origin to the plane along the Normal vector. |
|
The normal of the plane. |