User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_csprojcassini.createcopy_void

Table of Contents

TGIS_CSProjCassini.CreateCopy method

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.

Syntax

// Java
public TGIS_CSProjAbstract CreateCopy();
// Oxygene
public
  function CreateCopy : TGIS_CSProjAbstract; override;

Result

Type Description
TGIS_CSProjAbstract A new TGIS_CSProjAbstract instance with identical parameters, datum, ellipsoid, and validity constraints.

Remarks

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.

2026/07/11 01:22

Page Tools