User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_csunits

ITGIS_CSUnits interface

DK for ActiveX | TatukGIS_XDK11.ITGIS_CSUnits | Interfaces | Methods | Properties

Unit of measurement definition for linear, angular, areal, or automatic unit selection with conversion factors to base units.

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

Syntax

// C#
public interface ITGIS_CSUnits: ITGIS_CSAbstract
{
}
' VisualBasic
Public Interface ITGIS_CSUnits
  Implements ITGIS_CSAbstract
End Class
// Oxygene
type
  ITGIS_CSUnits = public interface( ITGIS_CSAbstract )
  end;

Implements

Methods

Inherited Overrides Protected
Name Visibility Description
AsAngular public Convert an angular value to a string representation with the unit symbol.
AsAreal public Convert an areal value to a string representation with the appropriate unit symbol.
AsLinear public Convert a linear value to a string representation with the appropriate unit symbol.
Assign_ public Copies the shared definition fields from another object.
(Inherited from ITGIS_CSAbstract)
AttachDelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
AutoSelect public Returns the selected unit definition for the specified value.
Create_ public Creates an automatic unit definition based on an ordered list of subunits.
Create_2 public Creates a unit definition with explicit symbol, type, and conversion factor.
DelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
FromBase public Convert a value from the corresponding base unit to the current unit.
FromUnits public Convert a value expressed in the specified unit to the current unit.
MarkDeprecated public Marks this coordinate system definition as deprecated or current.
(Inherited from ITGIS_CSAbstract)
ToBase public Convert a value from the current unit to the corresponding base unit.
ToUnits public Convert a value from the current unit to the specified target unit.

Properties

Inherited Protected
Name Visibility Description
Deprecated public Indicates whether this definition is deprecated.
(Inherited from ITGIS_CSAbstract)
DescriptionEx public Descriptive name; for internal use of TGIS_CSAbstractListHelper.
(Inherited from ITGIS_CSAbstract)
Description_ public Description of the coordinate system definition.
(Inherited from ITGIS_CSAbstract)
EPSG public EPSG code.
(Inherited from ITGIS_CSAbstract)
Factor public Conversion factor from the base unit to this unit; for example, the factor for kilometer is 1000.
FriendlyName public Friendly name constructed from the WKT name and EPSG code.
(Inherited from ITGIS_CSAbstract)
MasterEPSG public EPSG code of the object for which the current object is an alias.
(Inherited from ITGIS_CSAbstract)
Symbol public Unit symbol used when formatting values.
UnitsType public Unit category: linear, areal, angular, or automatic selection.
WKT public WKT name.
(Inherited from ITGIS_CSAbstract)

Remarks

PURPOSE: Encapsulate unit definitions used by the coordinate system framework for distance, angle, and area values. Supports conversions to and from base units such as meters, radians, and square meters.

BEHAVIOR: Each unit stores an EPSG (European Petroleum Survey Group) code, a WKT (Well-Known Text) name, a symbol, a unit type, and a conversion factor relative to the appropriate base unit. Automatic units use an ordered subunit list to select the most suitable display unit for a value.

CONSTRAINTS: Conversion factors are relative to base units. Automatic units depend on an ordered subunit array. EPSG and WKT uniqueness may be enforced by the owning list.

2026/09/20 23:44

Page Tools