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

In This Topic
    Distance Method (ICoordinateSystem)
    In This Topic
    Gets the distance, in meters, between two points in the unit of this coordinate system.
    Syntax
    'Declaration
     
    
    Function Distance( _
       ByVal longLat1 As C1.Win.Interop.Point, _
       ByVal longLat2 As C1.Win.Interop.Point _
    ) As Double
    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