User Tools

Site Tools


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

Table of Contents

TGIS_CSEllipsoidList.Add method

DK11 for .NET | TatukGIS.NDK.TGIS_CSEllipsoidList.Add | Constructors | Methods | Properties

Add new item into the list.

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

Syntax

// C#
public virtual TGIS_CSEllipsoid Add(
  int _epsg,
  string _wkt,
  double _semi_major,
  double _inv_flattering
);
' VisualBasic
Public Overridable Function Add(
  ByVal _epsg As Integer,
  ByVal _wkt As String,
  ByVal _semi_major As Double,
  ByVal _inv_flattering As Double
) As TGIS_CSEllipsoid
// Oxygene
public
  function Add(
    _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 object.

Remarks

function will not check _epsg and _wkt for being unique

2022/11/16 01:28

Page Tools