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