User Tools

Site Tools


api:dk11:delphi:giscsbase.tgis_csdatumlist.prepareex_integer_string_integer_integer_integer_ce7a92037e8b9828d27ac8ed00dfb0eb

Table of Contents

TGIS_CSDatumList.PrepareEx method

DK11 for Delphi | GisCsBase.TGIS_CSDatumList.PrepareEx | Constructors | Methods | Properties

Prepare a TGIS_CSDatum object. If the matching object does not exists then will be added to the list and returned. If the object can be found then it will be returned form the list.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  function PrepareEx(
    const _epsg : Integer;
    const _wkt : String;
    const _ellipsoid : Integer;
    const _method : Integer;
    const _area : Integer;
    const _a : Double;
    const _b : Double;
    const _c : Double;
    const _d : Double;
    const _e : Double;
    const _f : Double;
    const _g : Double;
    const _h : Double;
    const _i : Double;
    const _j : Double
  ) : TGIS_CSDatum; reintroduce; virtual;
// C++ Builder
public:
  virtual TGIS_CSDatum* PrepareEx(
    const int _epsg,
    const UnicodeString _wkt,
    const int _ellipsoid,
    const int _method,
    const int _area,
    const double _a,
    const double _b,
    const double _c,
    const double _d,
    const double _e,
    const double _f,
    const double _g,
    const double _h,
    const double _i,
    const double _j
  );

Parameters

Name Type Description
_epsg Integer EPSG code for the datum; if 0 then EPSG will be assigned from user defined, temporary pool
_wkt String WKT name for the datum
_ellipsoid Integer EPSG code for ellipsoid
_method Integer EPSG code for transformation method
_area Integer EPSG area code
_a Double For Methods 9603, 9606, 9607, 9636: X delta of geocentric shift expressed in meters; For Methods 9618, 9119: latitude shift expressed in radians;
_b Double For Methods 9603, 9606, 9607, 9636: Y delta of geocentric shift expressed in meters; For Methods 9618, 9119: longitude shift expressed in radians;
_c Double For Methods 9603, 9606, 9607, 9636: Z delta of geocentric shift expressed in meters; For Method 9618: gravity height over the ellipsoid height; For Method 9619: unused;
_d Double For Methods 9603, 9606, 9607, 9636: X rotation of geocentric expressed in radians; For Methods 9603, 9618, 9619: unused;
_e Double For Methods 9603, 9606, 9607, 9636: Y rotation of geocentric expressed in radians; For Methods 9603, 9618, 9619: unused;
_f Double For Methods 9603, 9606, 9607, 9636: Z rotation of geocentric expressed in radians; For Methods 9603, 9618, 9619: unused;
_g Double For Methods 9603, 9606, 9607, 9636: scaled correction of geocentric relative to 1; For Methods 9603, 9618: unused;
_h Double For Method 9636: X reference point in Cartesian system expressed in meters; For Methods 9603, 9606, 9607, 9618, 9619: unused;
_i Double For Method 9636: Y reference point in Cartesian system expressed in meters; For Methods 9603, 9606, 9607, 9618, 9619: unused;
_j Double For Method 9636: X reference point in Cartesian system expressed in meters; For Methods 9603, 9606, 9607, 9618, 9619: unused;

Result

Type Description
TGIS_CSDatum Newly created / Found object or nil.
2020/05/07 01:06

Page Tools