DK11 for Delphi | GisCsBase.TGIS_CSEllipsoid.Distance | Constructors | Methods | Properties
Calculates distance over Great Circle
// Delphi public function Distance( const _ptg_a : TGIS_Point; const _ptg_b : TGIS_Point ) : Double;
// C++ Builder public: double Distance( TGIS_Point* const _ptg_a, TGIS_Point* const _ptg_b );
Name | Type | Description |
---|---|---|
_ptg_a | TGIS_Point | start point; longitude & latitude must be expressed in radians |
_ptg_b | TGIS_Point | end point; longitude & latitude must be expressed in radians |
Type | Description |
---|---|
Double | Computed distance in meters. |