| PlaneShape Constructor (Vector3F, Single) |
Initializes a new instance of the
PlaneShape class from a normal vector and
the distance from the origin.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public PlaneShape(
Vector3F normal,
float distanceFromOrigin
)
Public Sub New (
normal As Vector3F,
distanceFromOrigin As Single
)
public:
PlaneShape(
Vector3F normal,
float distanceFromOrigin
)
new :
normal : Vector3F *
distanceFromOrigin : float32 -> PlaneShape
Parameters
- normal
- Type: DigitalRune.Mathematics.AlgebraVector3F
The outward pointing normal vector of the plane. Must be normalized.
- distanceFromOrigin
- Type: SystemSingle
The distance from the origin.
Exceptions See Also