| Plane Structure |
Namespace: DigitalRune.Geometry.Shapes
The Plane type exposes the following members.
| Name | Description | |
|---|---|---|
| Plane(PlaneShape) |
Initializes a new instance of Plane from a PlaneShape.
| |
| Plane(Vector3F, Vector3F) |
Initializes a new instance of Plane from normal vector and a point on the
plane.
| |
| Plane(Vector3F, Single) |
Initializes a new instance of Plane from normal vector and distance to the
origin.
| |
| Plane(Vector3F, Vector3F, Vector3F) |
Initializes a new instance of Plane from three points.
|
| Name | Description | |
|---|---|---|
| Equals(Object) | (Overrides ValueTypeEquals(Object).) | |
| Equals(Plane) |
Determines whether the specified Plane is equal to the current
Plane.
| |
| GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Normalize |
Normalizes the plane.
| |
| ToString | (Overrides ValueTypeToString.) | |
| TryNormalize |
Tries to normalizes the plane.
|
| Name | Description | |
|---|---|---|
| Equality |
Tests if two Planes are equal.
| |
| Inequality |
Tests if two Planes are different.
|
| Name | Description | |
|---|---|---|
| DistanceFromOrigin |
The distance of the plane from the origin (also known as the "plane constant").
| |
| Normal |
The normalized, outward pointing normal vector.
|
This is a lightweight structure. To define a plane shape for IGeometricObject use PlaneShape.
A plane can be described by a plane equation: a * x + b * y + c * z = d, where (x, y, z) is a point on the plane and (a, b, c) is the Normal vector. d is the "plane constant", which is equal to the distance from the origin if the normal is normalized.
Two Planes are considered as equal if Normal and DistanceFromOrigin are equal.