User Tools

Site Tools


api:dk11:delphi:giscsbase.tgis_csunits.fromunits_tgis_csunits_double

Table of Contents

TGIS_CSUnits.FromUnits method

DK11 for Delphi | GisCsBase.TGIS_CSUnits.FromUnits | Constructors | Methods | Properties

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

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

Syntax

// Delphi
public
  function FromUnits(
    const _units : TGIS_CSUnits;
    const _value : Double
  ) : Double;
// C++ Builder
public:
  double FromUnits(
    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 current units.
2022/11/16 01:15

Page Tools