User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_csunits

TGIS_CSUnits class

DK11 for .NET | TatukGIS.NDK.TGIS_CSUnits | Classes | Constructors | Methods | Properties

Unit of measurement (linear, angular or areal)

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public class TGIS_CSUnits : TGIS_CSAbstract
{
}
' VisualBasic
Public Class TGIS_CSUnits
  Inherits TGIS_CSAbstract
End Class
// Oxygene
type
  TGIS_CSUnits = public class( TGIS_CSAbstract )
  end;

Inheritance

→ TGIS_Object → TGIS_CSAbstract

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_CSUnits() public Standard constructor.
TGIS_CSUnits(int, string, int[]) public Create an instance of automatic units
TGIS_CSUnits(int, string, string, TGIS_CSUnitsType, double) public Create an instance.

Methods

Inherited Overrides Protected
Name Visibility Description
AsAngular public Convert units as annular to string representation with proper units symbol.
AsAreal public Convert units as areal to string representation with proper units symbol.
AsLinear public Convert units as linear to string representation with proper units symbol.
Assign public Standard constructor.
(Overrides TGIS_CSAbstract.Assign)
AutoSelect public Returned the most appropriate sub unit for selected value.
FromBase public Convert value provided in basic unit (meter or radians) into the value represented by current unit.
FromUnits public Convert value provided in current unit into basic unit (meter or radians) .
MarkDeprecated public Set object depreciation state.
(Inherited from TGIS_CSAbstract)
ToBase public Convert value provided in current unit into basic unit (meter or radians) .
ToString public
(Inherited from TGIS_CSAbstract)
ToUnits public Convert value provided in basic unit (meter or radians) into the value represented by current unit.

Properties

Inherited Protected
Name Visibility Description
Deprecated public If true, then object is deprecated.
(Inherited from TGIS_CSAbstract)
Description public Additional description.
(Inherited from TGIS_CSAbstract)
DescriptionEx public Descriptive name; for internal use of TGIS_CSAbstractListHelper.
(Inherited from TGIS_CSAbstract)
EPSG public EPSG code.
(Inherited from TGIS_CSAbstract)
Factor public Factor between unit and basic unit (meter or radians); for example factor for kilometer is 1000.
FriendlyName public Friendly name constructed based on WKT (without underscores) and EPSG.
(Inherited from TGIS_CSAbstract)
MasterEPSG public EPSG code of the object for which current object is an alias.
(Inherited from TGIS_CSAbstract)
Symbol public Symbolic name.
UnitsType public Type of units: angular, linear, areal.
WKT public WKT name.
(Inherited from TGIS_CSAbstract)

References

2019/01/25 17:00