DK11 for Java | tatukgis.jdk.TGIS_CSUnitsList.Prepare | Constructors | Methods | Properties
Prepare a TGIS_CSUnits object. If the matching object does not exists then will be added to the list and returned. If the object can be found then it will be returned form the list.
// Java public TGIS_CSUnits Prepare( int _epsg, java.lang.String _wkt, java.lang.String _symbol, TGIS_CSUnitsType _type, double _factor );
// Oxygene public function Prepare( _epsg : Integer; _wkt : String; _symbol : String; _type : TGIS_CSUnitsType; _factor : Double ) : TGIS_CSUnits; reintroduce; virtual;
Name | Type | Description |
---|---|---|
_epsg | int Integer | EPSG code for the unit; if 0 then EPSG will be assigned from user defined, temporary pool |
_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. |
Type | Description |
---|---|
TGIS_CSUnits | Newly created / Found object or nil. |