User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_shape.distance2shapecs_tgis_shape

Table of Contents

TGIS_Shape.Distance2ShapeCS method

DK11 for Java | tatukgis.jdk.TGIS_Shape.Distance2ShapeCS | Constructors | Fields | Methods | Properties

Calculate WGS84 distance between two shapes.

Available also on: Delphi | .NET | ActiveX | Python.

Syntax

// Java
public double Distance2ShapeCS(
  TGIS_Shape _shp
);
// Oxygene
public
  function Distance2ShapeCS(
    _shp : TGIS_Shape
  ) : Double; virtual;

Parameters

Name Type Description
_shp TGIS_Shape reference shape

Result

Type Description
double
Double
Distance in meters (or -1 if map units if CS is not defined).
2022/11/16 01:51

Page Tools