User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_csellipsoidlist.prepare_integer_string_double_double

Table of Contents

TGIS_CSEllipsoidList.Prepare method

DK for .NET | TatukGIS.NDK.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: Delphi | Java | ActiveX | Python.

Syntax

// C#
public virtual TGIS_CSEllipsoid Prepare(
  int _epsg,
  string _wkt,
  double _semi_major,
  double _inv_flattering
);
' VisualBasic
Public Overridable Function Prepare(
  ByVal _epsg As Integer,
  ByVal _wkt As String,
  ByVal _semi_major As Double,
  ByVal _inv_flattering As Double
) As TGIS_CSEllipsoid
// Oxygene
public
  function Prepare(
    _epsg : Integer;
    _wkt : String;
    _semi_major : Double;
    _inv_flattering : Double
  ) : TGIS_CSEllipsoid; reintroduce; virtual;

Parameters

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

Result

Type Description
TGIS_CSEllipsoid Newly created / Found object or nil.
2025/01/31 01:11

Page Tools