DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Distance2ShapeCS | Methods | Properties
Calculate WGS84 distance between two shapes.
// C# public double Distance2ShapeCS( ITGIS_Shape _shp );
' VisualBasic Public Function Distance2ShapeCS( ByVal _shp As ITGIS_Shape ) As Double
// Oxygene public function Distance2ShapeCS( _shp : ITGIS_Shape ) : Double;
Name | Type | Description |
---|---|---|
_shp | ITGIS_Shape | reference shape |
Type | Description |
---|---|
double Double | Distance in meters (or -1 if map units if CS is not defined). |