User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_csunits.create_integer_string_string_tgis_csunitstype_double

Table of Contents

TGIS_CSUnits.TGIS_CSUnits(int, java.lang.String, java.lang.String, TGIS_CSUnitsType, double) constructor

DK for Java | tatukgis.jdk.TGIS_CSUnits.Create | Overloads | Constructors | Methods | Properties

Create a unit definition with explicit symbol, type, and conversion factor.

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

Syntax

// Java
public TGIS_CSUnits(
  int _epsg,
  java.lang.String _wkt,
  java.lang.String _symbol,
  TGIS_CSUnitsType _type,
  double _factor
);
// Oxygene
public
  constructor (
    _epsg : Integer;
    _wkt : String;
    _symbol : String;
    _type : TGIS_CSUnitsType;
    _factor : Double
  );

Parameters

Name Type Description
_epsg int
Integer
EPSG (European Petroleum Survey Group) code for the unit.
_wkt java.lang.String
String
WKT (Well-Known Text) name for the unit.
_symbol java.lang.String
String
Unit symbol such as 'km', 'm', or 'deg'.
_type TGIS_CSUnitsType Unit type: linear, angular, or areal.
_factor double
Double
Conversion factor to the base unit. For example, the factor for kilometer is 1000.
2026/07/11 01:24

Page Tools