Unigine::DatasetCoordinateTransformer Class
Header: | #include <UnigineDataset.h> |
DatasetCoordinateTransformer Class
Members
static DatasetCoordinateTransformerPtr create ( ) #
Constructor. Creates a new DatasetCoordinateTransformer class instance with unset systems for transforming.static DatasetCoordinateTransformerPtr create ( const Ptr<DatasetSpatialReference> & src, const Ptr<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
- const Ptr<DatasetSpatialReference> & src - Source spatial reference system.
- const Ptr<DatasetSpatialReference> & dest - Target spatial reference system.
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 ( const Ptr<DatasetSpatialReference> & src, const Ptr<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
- const Ptr<DatasetSpatialReference> & src - Source spatial reference system.
- const Ptr<DatasetSpatialReference> & dest - Target spatial reference system.
Return value
1 if the systems are successfully set and valid; otherwise, 0.Last update:
2019-12-25
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)