Computes the shortest spatial distance between two objects.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax
| C# |
|---|
public double DistanceTo( Point point ) |
| Visual Basic (Declaration) |
|---|
Public Function DistanceTo ( _ point As Point _ ) As Double |
| Visual C++ |
|---|
public: double DistanceTo( Point^ point ) |
Parameters
- point
- Type: ceometric.VectorGeometry..::.Point
A point.
Return Value
Returns the spatial distance between the point and point.
Remarks
This distance is always positive or zero.