User Tools

Site Tools


api:dk11:delphi:giscssystems.tgis_cscoordinatesystem.canconvert_tgis_cscoordinatesystem

Table of Contents

TGIS_CSCoordinateSystem.CanConvert method

DK11 for Delphi | GisCsSystems.TGIS_CSCoordinateSystem.CanConvert | Constructors | Fields | Methods | Properties

Test if provided coordinate should and can be transformed to/from the current one.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  function CanConvert(
    const _cs : TGIS_CSCoordinateSystem
  ) : Boolean;
// C++ Builder
public:
  bool CanConvert(
    TGIS_CSCoordinateSystem* const _cs
  );

Parameters

Name Type Description
_cs TGIS_CSCoordinateSystem coordinate system to be tested

Result

Type Description
Boolean True if system cam be converted.

Remarks

  • If one of the coordinate systems is not defined then result is False
  • If coordinate systems are same then result False (see CanConvertEx for different test)

2020/05/07 01:06

Page Tools