User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_csunits.tounits_tgis_csunits_double

Table of Contents

TGIS_CSUnits.ToUnits method

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

Convert value provided in basic unit (meter or radians) into the value represented by current unit.

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

Syntax

// C#
public double ToUnits(
  TGIS_CSUnits _units,
  double _value
);
' VisualBasic
Public Function ToUnits(
  ByVal _units As TGIS_CSUnits,
  ByVal _value As Double
) As Double
// Oxygene
public
  function ToUnits(
    _units : TGIS_CSUnits;
    _value : Double
  ) : Double;

Parameters

Name Type Description
_units TGIS_CSUnits desired units system to be converted to
_value double
Double
value to be converted

Result

Type Description
double
Double
Value converted to defined units.
2022/11/16 01:29

Page Tools