User Tools

Site Tools


Table of Contents

TGIS_CSEllipsoidList.Prepare method

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

Prepare a TGIS_CSEllipsoid 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 | Python.


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


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


Type Description
TGIS_CSEllipsoid Newly created / Found object or nil.
2022/11/16 01:14

Page Tools