Computes the shortest spatial distance between two objects.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public double DistanceTo( Edge edge ) |
Visual Basic (Declaration) |
---|
Public Function DistanceTo ( _ edge As Edge _ ) As Double |
Visual C++ |
---|
public: double DistanceTo( Edge^ edge ) |
Parameters
- edge
- Type: ceometric.VectorGeometry..::.Edge
An edge.
Return Value
Returns the signed minimum distance from the plane to edge.Remarks
This distance is
- positive if the closest point on edge lies on the other side of the plane as the origin,
- zero if edge intersects the plane or lies on the plane and
- negative if the closest point on edge lies on the same side of the plane as the origin.