User Tools

Site Tools


api:dk11:delphi:giscsbase.tgis_csunits.tounits_tgis_csunits_double

Table of Contents

TGIS_CSUnits.ToUnits method

DK11 for Delphi | GisCsBase.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: .NET | Java | ActiveX | Python.

Syntax

// Delphi
public
  function ToUnits(
    const _units : TGIS_CSUnits;
    const _value : Double
  ) : Double;
// C++ Builder
public:
  double ToUnits(
    TGIS_CSUnits* const _units,
    const double _value
  );

Parameters

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

Result

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

Page Tools