Computes the shortest spatial distance between two objects.

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

Syntax

C#
public double DistanceTo(
	Plane plane
)
Visual Basic (Declaration)
Public Function DistanceTo ( _
	plane As Plane _
) As Double
Visual C++
public:
double DistanceTo(
	Plane^ plane
)

Parameters

plane
Type: ceometric.VectorGeometry..::.Plane
A plane.

Return Value

Returns the signed minimum spatial distance between the point and plane.

Remarks

This distance is
  • positive if the point lies on the other side of plane as the origin,
  • zero if the point lies on plane and
  • negative if the point lies on the same side of plane as the origin.

See Also