User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.distance2shape_tgis_shape

Table of Contents

TGIS_Shape.Distance2Shape(TGIS_Shape) method

DK11 for Delphi | GisLayerVector.TGIS_Shape.Distance2Shape | Overloads | Constructors | Fields | Methods | Properties

Calculate planar distance between two shapes.

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

Syntax

// Delphi
public
  function Distance2Shape(
    const _shp : TGIS_Shape
  ) : Double; overload; virtual;
// C++ Builder
public:
  virtual double Distance2Shape(
    TGIS_Shape* const _shp
  ) /* overload */;

Parameters

Name Type Description
_shp TGIS_Shape reference shape

Result

Type Description
Double Distance in map units.
2024/12/20 22:19

Page Tools