Distance beetween two Point2D
Namespace:
Hyleos.Common.GeometryAssembly: Hyleos.Common (in Hyleos.Common.dll) Version: 1.0.3.2 (1.0.3.2)
Syntax
| C# |
|---|
public static float Distance( Point2D p1, Point2D p2 ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Distance ( _ p1 As Point2D, _ p2 As Point2D _ ) As Single |
| Visual C++ |
|---|
public: static float Distance( Point2D p1, Point2D p2 ) |
Parameters
- p1
- Type: Hyleos.Common.Geometry..::.Point2D
Point2D 1 (begin point)
- p2
- Type: Hyleos.Common.Geometry..::.Point2D
Point2D 2 (end point)