DK for Java | tatukgis.jdk.TGIS_CSUnits.Create | Overloads | Constructors | Methods | Properties
Create a unit definition with explicit symbol, type, and conversion factor.
// 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 );
| 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. |