Click or drag to resize
DigitalRuneGeometryHelperGetDistance Method (Plane, Vector3F)
Gets the signed distance of a point to a plane surface.

Namespace: DigitalRune.Geometry
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public static float GetDistance(
	Plane plane,
	Vector3F point
)

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