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

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 code for the unit
_wkt java.lang.String
String
WKT name for the unit
_symbol java.lang.String
String
units symbol like 'km', 'm'
_type TGIS_CSUnitsType angular, linear or areal units
_factor double
Double
factor between unit and basic unit (meter or radians); for example factor for kilometer is 1000.
2022/11/16 01:42

Page Tools