User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_csellipsoidlist.add_integer_string_double_double

Table of Contents

TGIS_CSEllipsoidList.Add method

DK11 for Python | tatukgis.pdk.TGIS_CSEllipsoidList.Add | Constructors | Methods | Properties

Add new item into the list.

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

Syntax

# Python
def Add(
  self,
  _epsg: int,
  _wkt: str,
  _semi_major: float,
  _inv_flattering: float
) -> TGIS_CSEllipsoid: 

Parameters

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

Result

Type Description
TGIS_CSEllipsoid Newly created object.

Remarks

function will not check _epsg and _wkt for being unique

2023/08/09 01:52

Page Tools