Derm.Render.Plane Class Reference
Plane abstraction.
More...
List of all members.
Detailed Description
Plane abstraction.
Constructor & Destructor Documentation
Derm.Render.Plane.Plane |
( |
Vertex3f |
normal, |
|
|
float |
d | |
|
) |
| | |
Construct a plane from a normal and a distance from origin.
- Parameters:
-
| normal | A Vertex3f representing the plane normal. |
| d | A System.Single representing the distance between the plane and the origin. |
Construct a plane from a normal and a point.
- Parameters:
-
| normal | A Vertex3f representing the plane normal. |
| point | A Vertex3f representing the point considered for constructing the plane. |
Construct a plane from 3 coplanar points.
- Parameters:
-
| v1 | A Vertex3f representing one plane coplanar point. |
| v2 | A Vertex3f representing one plane coplanar point. |
| v3 | A Vertex3f representing one plane coplanar point. |
Member Function Documentation
float Derm.Render.Plane.GetDistance |
( |
Vertex3f |
p |
) |
|
Compute distance between a point and this plane.
- Parameters:
-
- Returns:
- It returns the distance between a point and this plane. In the case the distance is positive, the point is on the positive side of the plane (following Normal direction), otherwise the distance is negative.
Property Documentation
float Derm.Render.Plane.Distance [get, set] |
Vertex3f Derm.Render.Plane.Normal [get, set] |