Map for WinForms | ComponentOne
C1.FlexMap Namespace / CartesianCoordinateSystem Class / Distance Method
The first point.
The second point.

In This Topic
    Distance Method (CartesianCoordinateSystem)
    In This Topic
    Gets the distance, in meters, between two points in the unit of this coordinate system.
    Syntax
    'Declaration
     
    
    Public Function Distance( _
       ByVal longLat1 As C1.Win.Interop.Point, _
       ByVal longLat2 As C1.Win.Interop.Point _
    ) As Double
    public double Distance( 
       C1.Win.Interop.Point longLat1,
       C1.Win.Interop.Point longLat2
    )

    Parameters

    longLat1
    The first point.
    longLat2
    The second point.

    Return Value

    The meters between the given two points.
    See Also