PROJ C++ API
|
A two- or three-dimensional coordinate system in Euclidean space with orthogonal straight axes. More...
#include <coordinatesystem.hpp>
Static Public Member Functions | |
static CartesianCSNNPtr | create (const util::PropertyMap &properties, const CoordinateSystemAxisNNPtr &axis1, const CoordinateSystemAxisNNPtr &axis2) |
Instanciate a CartesianCS. More... | |
static CartesianCSNNPtr | create (const util::PropertyMap &properties, const CoordinateSystemAxisNNPtr &axis1, const CoordinateSystemAxisNNPtr &axis2, const CoordinateSystemAxisNNPtr &axis3) |
Instanciate a CartesianCS. More... | |
static CartesianCSNNPtr | createEastingNorthing (const common::UnitOfMeasure &unit) |
Instanciate a CartesianCS with a Easting (first) and Northing (second) axis. More... | |
static CartesianCSNNPtr | createGeocentric (const common::UnitOfMeasure &unit) |
Instanciate a CartesianCS with the three geocentric axes. More... | |
![]() | |
static IdentifiedObjectNNPtr | create (const util::PropertyMap &properties) |
Instanciate a new IdentifiedObject. More... | |
Additional Inherited Members | |
![]() | |
enum | Criterion { Criterion::STRICT, Criterion::EQUIVALENT } |
Comparison criterion. More... | |
![]() | |
const std::vector< CoordinateSystemAxisNNPtr > & | axisList () PROJ_CONST_DECL |
Return the list of axes of this coordinate system. More... | |
bool | isEquivalentTo (const util::IComparable *other, util::IComparable::Criterion criterion=util::IComparable::Criterion::STRICT) const override |
Returns whether an object is equivalent to another one. More... | |
![]() | |
const metadata::IdentifierNNPtr & | name () PROJ_CONST_DECL |
Return the name of the object. More... | |
const std::string & | nameStr () PROJ_CONST_DECL |
Return the name of the object. More... | |
const std::vector< metadata::IdentifierNNPtr > & | identifiers () PROJ_CONST_DECL |
Return the identifier(s) of the object. More... | |
const std::vector< util::GenericNameNNPtr > & | aliases () PROJ_CONST_DECL |
Return the alias(es) of the object. | |
const std::string & | remarks () PROJ_CONST_DECL |
Return the remarks. | |
bool | isDeprecated () PROJ_CONST_DECL |
Return whether the object is deprecated. More... | |
std::string | alias () PROJ_CONST_DECL |
Return the (first) alias of the object as a string. More... | |
int | getEPSGCode () PROJ_CONST_DECL |
Return the EPSG code. More... | |
bool | isEPSG (int code) PROJ_CONST_DECL |
Return whether the object has a identifiers() in the EPSG code space. | |
![]() | |
std::string | exportToWKT (WKTFormatter *formatter) const |
![]() | |
static const std::string | NAME_KEY |
Key to set the name of a common::IdentifiedObject. More... | |
static const std::string | IDENTIFIERS_KEY |
Key to set the identifier(s) of a common::IdentifiedObject. More... | |
static const std::string | ALIAS_KEY |
Key to set the alias(es) of a common::IdentifiedObject. More... | |
static const std::string | REMARKS_KEY |
Key to set the remarks of a common::IdentifiedObject. More... | |
static const std::string | DEPRECATED_KEY |
Key to set the deprecation flag of a common::IdentifiedObject. More... | |
A two- or three-dimensional coordinate system in Euclidean space with orthogonal straight axes.
All axes shall have the same length unit. A CartesianCS shall have two or three axis associations; the number of associations shall equal the dimension of the CS.
|
static |
Instanciate a CartesianCS.
properties | See General properties. |
axis1 | The first axis. |
axis2 | The second axis. |
|
static |
Instanciate a CartesianCS.
properties | See General properties. |
axis1 | The first axis. |
axis2 | The second axis. |
axis3 | The third axis. |
|
static |
Instanciate a CartesianCS with a Easting (first) and Northing (second) axis.
unit | Linear unit of the axes. |
|
static |
Instanciate a CartesianCS with the three geocentric axes.
unit | Liinear unit of the axes. |