User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.distance2shapecs_itgis_shape

Table of Contents

ITGIS_Shape.Distance2ShapeCS method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Distance2ShapeCS | Methods | Properties

Calculate WGS84 distance between two shapes.

Available also on: Delphi | .NET | Java.

Syntax

// 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;

Parameters

Name Type Description
_shp ITGIS_Shape reference shape

Result

Type Description
double
Double
Distance in meters (or -1 if map units if CS is not defined).
2020/05/07 01:04

Page Tools