User Tools

Site Tools


api:dk11:delphi:giscsbase.tgis_csellipsoidlist.add_integer_string_double_double

Table of Contents

TGIS_CSEllipsoidList.Add method

DK11 for Delphi | GisCsBase.TGIS_CSEllipsoidList.Add | Constructors | Methods | Properties

Add new item into the list.

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

Syntax

// Delphi
public
  function Add(
    const _epsg : Integer;
    const _wkt : String;
    const _semi_major : Double;
    const _inv_flattering : Double
  ) : TGIS_CSEllipsoid; reintroduce; virtual;
// C++ Builder
public:
  virtual TGIS_CSEllipsoid* Add(
    const int _epsg,
    const UnicodeString _wkt,
    const double _semi_major,
    const double _inv_flattering
  );

Parameters

Name Type Description
_epsg Integer EPSG code for the ellipsoid; if 0 then EPSG will be assigned from user defined, temporary pool
_wkt String WKT name for the ellipsoid
_semi_major Double semi major axis
_inv_flattering Double inverse flattering; 0 for spheroid

Result

Type Description
TGIS_CSEllipsoid Newly created object.

Remarks

function will not check _epsg and _wkt for being unique

2024/12/20 22:17

Page Tools