DK11 for Delphi | GisLayerVector.TGIS_Shape.Distance2ShapeCS | Constructors | Fields | Methods | Properties
Calculate WGS84 distance between two shapes.
// Delphi public function Distance2ShapeCS( const _shp : TGIS_Shape ) : Double; virtual;
// C++ Builder public: virtual double Distance2ShapeCS( TGIS_Shape* const _shp );
Name | Type | Description |
---|---|---|
_shp | TGIS_Shape | reference shape |
Type | Description |
---|---|
Double | Distance in meters (or -1 if map units if CS is not defined). |