DK for Java | tatukgis.jdk.TGIS_CSProjCassini.CreateCopy | Constructors | Fields | Methods | Properties
Creates a deep copy of this projection instance with all parameters and settings duplicated.
Available also on: Delphi | .NET.
Overrides TGIS_CSProjAbstract.CreateCopy.
// Java public TGIS_CSProjAbstract CreateCopy();
// Oxygene public function CreateCopy : TGIS_CSProjAbstract; override;
| Type | Description |
|---|---|
| TGIS_CSProjAbstract | A new TGIS_CSProjAbstract instance with identical parameters, datum, ellipsoid, and validity constraints. |
PURPOSE: Duplicate the projection for independent use, for example in parallel processing or when preserving the original settings while modifying a copy.
BEHAVIOR: Creates a new object of the same class and copies all projection parameters, datum reference, ellipsoid, and validity extent settings. Internal cached values are reinitialized in the copy.
USAGE: Use when a separate projection instance with the same configuration is required.
proj2 = proj1.CreateCopy() proj2.CentralMeridian = newValue
CONSTRAINTS: The caller owns the returned instance. Datum and ellipsoid references are copied, not cloned.