User Tools

Site Tools


api:dk11:delphi:giscsbase.tgis_csellipsoid



TGIS_CSEllipsoid class

DK for Delphi | GisCsBase.TGIS_CSEllipsoid | Classes | Constructors | Methods | Properties

Ellipsoid or spheroid definition with semi-major axis, semi-minor axis, and derived geodetic properties.

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

Syntax

// Delphi
type
  TGIS_CSEllipsoid = class( TGIS_CSAbstract )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_CSEllipsoid : public TGIS_CSAbstract
{
};

Inheritance

Constructors

Inherited Overrides Protected
Name Visibility Description
Create public Create an ellipsoid definition.

Methods

Inherited Overrides Protected
Name Visibility Description
Assign public Copies the shared definition fields from another object.
(Overrides TGIS_CSAbstract.Assign)
Distance public Calculate the great-circle distance between two geodetic points.
LocationByBearing public Calculate the target location from an origin, bearing, and distance.
MarkDeprecated public Marks this coordinate system definition as deprecated or current.
(Inherited from TGIS_CSAbstract)
ToGeocentric public Convert coordinates from geodetic coordinates to geocentric space on this ellipsoid.
ToGeocentric_Ref public Convert point from geodetic to geocentric system.
ToGeodetic public Convert coordinates from geocentric space to geodetic coordinates on this ellipsoid.
ToGeodetic_Ref public Convert point from geocentric to geodetic system.

Properties

Inherited Protected
Name Visibility Description
Deprecated public Indicates whether this definition is deprecated.
(Inherited from TGIS_CSAbstract)
Description public Description of the coordinate system definition.
(Inherited from TGIS_CSAbstract)
DescriptionEx public Descriptive name; for internal use of TGIS_CSAbstractListHelper.
(Inherited from TGIS_CSAbstract)
EcntrMajor public Eccentricity squared.
EcntrMajorSqrt public Square root of eccentricity squared.
EcntrMinor public Second eccentricity squared.
EcntrMinorSqrt public Square root of second eccentricity squared.
EPSG public EPSG code.
(Inherited from TGIS_CSAbstract)
Flattering public Flattening.
FriendlyName public Friendly name constructed from the WKT name and EPSG code.
(Inherited from TGIS_CSAbstract)
InverseFlattering public Inverse flattening.
MasterEPSG public EPSG code of the object for which the current object is an alias.
(Inherited from TGIS_CSAbstract)
SemiMajor public Semimajor axis.
SemiMajorSq public Square of semimajor axis.
SemiMinor public Semi-minor axis.
SemiMinorSq public Square of semiminor axis.
WKT public WKT name.
(Inherited from TGIS_CSAbstract)

Remarks

PURPOSE: Define the mathematical Earth model used by a datum, coordinate reference system, and geodetic calculations such as coordinate conversion, distance, and bearing.

BEHAVIOR: Stores semi-major axis and flattening-derived values, then exposes derived properties such as semi-minor axis and eccentricity. The class also converts between geodetic and geocentric coordinates and supports distance and destination calculations using longitude and latitude in radians.

CONSTRAINTS: The constructor uses inverse flattening, where 0 indicates a spheroid. Distance and location methods expect longitude and latitude in radians.

2026/07/11 00:21

Page Tools