DK11 for Delphi | GisCsSystems.TGIS_CSCoordinateSystem.Distance | Constructors | Fields | Methods | Properties
Calculates ellipsoidal distance (expressed in meters) based on current Coordinate System.
// Delphi public function Distance( const _from : TGIS_Point; const _to : TGIS_Point ) : Double;
// C++ Builder public: double Distance( TGIS_Point* const _from, TGIS_Point* const _to );
Name | Type | Description |
---|---|---|
_from | TGIS_Point | first coordinate |
_to | TGIS_Point | first coordinate |
Type | Description |
---|---|
Double | distance value or -1 if distance can not be computed |