Unigine.DatasetCoordinateTransformer Class
The DatasetCoordinateTransformer class is intended for transforming between coordinate systems.
DatasetCoordinateTransformer Class
Members
DatasetCoordinateTransformer()
Constructor. Creates a new DatasetCoordinateTransformer class instance with unset systems for transforming.DatasetCoordinateTransformer(DatasetSpatialReference src, DatasetSpatialReference dest)
Constructor. Creates a new DatasetCoordinateTransformer class instance and sets the src parameter as the source spatial reference system and the dest as the target one.Arguments
- DatasetSpatialReference src - Source spatial reference system.
- DatasetSpatialReference dest - Target spatial reference system.
DatasetCoordinateTransformer(DatasetCoordinateTransformer other)
Constructor. Creates a new DatasetCoordinateTransformer class instance from another one and takes the source and target spatial reference systems from it.Arguments
- DatasetCoordinateTransformer other - a DatasetCoordinateTransformer class instance.
int isValid()
Returns a value indicating if the valid source and target spatial reference systems are set.Return value
1 if the valid systems for transforming are set; otherwise, 0.int setReferences(DatasetSpatialReference src, DatasetSpatialReference dest)
Sets the src parameter as the source spatial reference system and the dest as the target one. Returns a value indicating if the systems are successfully set and valid.Arguments
- DatasetSpatialReference src - Source spatial reference system.
- DatasetSpatialReference dest - Target spatial reference system.
Return value
1 if the systems are successfully set and valid; otherwise, 0.Last update: 2018-08-10
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)