| GeometryHelperGetDistance Method (Plane, Vector3F) |
Gets the signed distance of a point to a plane surface.
Namespace: DigitalRune.GeometryAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public static float GetDistance(
Plane plane,
Vector3F point
)
Public Shared Function GetDistance (
plane As Plane,
point As Vector3F
) As Single
public:
static float GetDistance(
Plane plane,
Vector3F point
)
static member GetDistance :
plane : Plane *
point : Vector3F -> float32
Parameters
- plane
- Type: DigitalRune.Geometry.ShapesPlane
The plane. - point
- Type: DigitalRune.Mathematics.AlgebraVector3F
The point.
Return Value
Type:
Single
The signed distance. This value is positive if the point is in the positive half-space
(separation); otherwise, negative (penetration).
See Also