User Tools

Site Tools


Table of Contents

TGIS_CSUnits.Create(Integer; String; String; TGIS_CSUnitsType; Double) constructor

DK11 for Delphi | GisCsBase.TGIS_CSUnits.Create | Overloads | Constructors | Methods | Properties

Create an instance.

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


// Delphi
  constructor Create(
    const _epsg : Integer;
    const _wkt : String;
    const _symbol : String;
    const _type : TGIS_CSUnitsType;
    const _factor : Double
  ); overload;
// C++ Builder
Create (
  const int _epsg,
  const UnicodeString _wkt,
  const UnicodeString _symbol,
  TGIS_CSUnitsType* const _type,
  const double _factor


Name Type Description
_epsg Integer EPSG code for the unit
_wkt String WKT name for the unit
_symbol String units symbol like 'km', 'm'
_type TGIS_CSUnitsType angular, linear or areal units
_factor Double factor between unit and basic unit (meter or radians); for example factor for kilometer is 1000.
2022/11/16 01:15

Page Tools