Computes the distance between two points in the xy-plane.
Namespace:
ceometric.ComputationalGeometryAssembly: ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)
Syntax
C# |
---|
public static double DistanceXY( Point p1, Point p2 ) |
Visual Basic (Declaration) |
---|
Public Shared Function DistanceXY ( _ p1 As Point, _ p2 As Point _ ) As Double |
Visual C++ |
---|
public: static double DistanceXY( Point^ p1, Point^ p2 ) |
Parameters
- p1
- Type: ceometric.VectorGeometry..::.Point
A point.
- p2
- Type: ceometric.VectorGeometry..::.Point
A point.