DK11 for Java | tatukgis.jdk.TGIS_CSEllipsoid.Distance | Constructors | Methods | Properties
Calculates distance over Great Circle
// Java public double Distance( TGIS_Point _ptg_a, TGIS_Point _ptg_b );
// Oxygene public function Distance( _ptg_a : TGIS_Point; _ptg_b : TGIS_Point ) : Double;
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 Double | Computed distance in meters. |