GeometryGetDistance Method |
Get the distance between two points.
Namespace:
RootPro.RootProCAD.Geometry
Assembly:
RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax public abstract double GetDistance(
Point2d point1,
Point2d point2
)
Public MustOverride Function GetDistance (
point1 As Point2d,
point2 As Point2d
) As Double
Parameters
- point1
- Type: RootPro.RootProCAD.GeometryPoint2d
The coordinates of the first point. - point2
- Type: RootPro.RootProCAD.GeometryPoint2d
The coordinates of the second point.
Return Value
Type:
Double Distance between two points.
See Also