User Tools

Site Tools


api:dk11:delphi:giscsprojections.tgis_csprojeckert_v.createcopy_void

Table of Contents



TGIS_CSProjEckert_V.CreateCopy method

DK for Delphi | GisCsProjections.TGIS_CSProjEckert_V.CreateCopy | Constructors | Fields | Methods | Properties

Create a deep copy of this projection instance with all parameters and settings duplicated.

Available also on: .NET | Java.

Syntax

Overrides TGIS_CSProjAbstract.CreateCopy.

// Delphi
public
  function CreateCopy : TGIS_CSProjAbstract; override;
// C++ Builder
public:
  virtual TGIS_CSProjAbstract* CreateCopy(void);

Result

Type Description
TGIS_CSProjAbstract New TGIS_CSProjAbstract instance with identical parameters, datum, ellipsoid, and validity constraints. Caller must free returned object.

Remarks

PURPOSE:Duplicate projection for use in parallel threads or to preserve original projection while modifying a copy.

BEHAVIOR:Creates new object of same class, copies all parameters (CentralMeridian, ScaleFactor, etc.), datum reference, ellipsoid, and validity extent constraints. Internal state and cached values are reinitialized in the copy.

USAGE:proj2 := proj1.CreateCopy; proj2.CentralMeridian := new_value;

CONSTRAINTS:Returns new instance; caller owns and must free it. Deep copy includes datum/ellipsoid references (shared pointers, not cloned).

2026/06/12 22:28

Page Tools