|
Maps SDK for C++ 1.0.0
|
GeographicArea object. More...


Public Member Functions | |
| GeographicArea (const GeographicArea &)=default | |
| Default copy constructor. | |
| GeographicArea (GeographicArea &&)=default | |
| Default move constructor noexcept is deduced. | |
| GeographicArea & | operator= (const GeographicArea &other)=default |
| Copy assignment operator. | |
| GeographicArea & | operator= (GeographicArea &&other) noexcept=default |
| Move assignment operator. | |
| EGeographicAreaType | type () const |
| Retrieves the specific type of the geographic area. | |
| bool | containsCoordinates (Coordinates const &point) const |
| Checks if the specified point is contained within the geographic area. | |
| RectangleGeographicArea | getBoundingBox () const noexcept |
| Get the bounding box. | |
| Coordinates | getCenterPoint () const noexcept |
| Retrieves the center point of the geographic area. | |
| bool | equals (GeographicArea const &other) const noexcept |
| Checks if two geographic areas are considered equal. | |
| bool | operator== (const GeographicArea &area) const noexcept |
| Equality comparison operator for geographic areas. | |
| bool | operator!= (const GeographicArea &area) const noexcept |
| Inequality comparison operator for geographic areas. | |
| template<typename TSubclass> | |
| TSubclass | cast () const noexcept |
| Attempts to cast the current geographic area object to a specified subclass. | |
| bool | isDefault () const override |
| Determines if the current geographic area object is in its default state (unaltered since creation). | |
| operator bool () const noexcept | |
| Boolean conversion operator indicating if the geographic area is valid and not in its default state. | |
| bool | isEmpty () const noexcept |
| Checks if the geographic area is empty. | |
| void | reset () noexcept |
| Resets the geographic area object to its default state. | |
| int | convert (GeographicArea &area) const noexcept |
| Converts the geographic area to another type, if possible. | |
GeographicArea object.
This object represents a geographical area on the surface of a WGS 84 Ellipsoid.
Implements share-read / copy-on-write Api object over IGeographicArea. In the calculations related to these geographical areas the altitude information contained in the Coordinates object is ignored. All geographical areas deal with Coordinates objects.
|
inlinenoexcept |
Attempts to cast the current geographic area object to a specified subclass.
This is a template method.
| TSubclass | The subclass type to cast to. |
|
inline |
Checks if the specified point is contained within the geographic area.
| point | A Coordinates object representing the point to check. |
|
inlinenoexcept |
Converts the geographic area to another type, if possible.
| area | A GeographicArea object to convert to. |
|
inlinenoexcept |
Checks if two geographic areas are considered equal.
| other | Another GeographicArea object for comparison. |
|
inlinenoexcept |
Get the bounding box.
This is the smallest rectangle that can be drawn around the area such that it surrounds this geographic area completely.
If the area is bigger than what is allowed in the WGS 84 coordinate system, the rectangle is truncated to valid WGS 84 coordinate values. The RectangleGeographicArea is always aligned with parallels and meridians.
|
inlinenoexcept |
Retrieves the center point of the geographic area.
Calculates and returns the geographic center of the area.
|
inlineoverride |
Determines if the current geographic area object is in its default state (unaltered since creation).
|
inlinenoexcept |
Checks if the geographic area is empty.
|
inlineexplicitnoexcept |
Boolean conversion operator indicating if the geographic area is valid and not in its default state.
|
inlinenoexcept |
Inequality comparison operator for geographic areas.
| area | Another GeographicArea object to compare against. |
|
default |
Copy assignment operator.
Replaces the current object's contents with another GeographicArea object's contents.
| other | The GeographicArea object to copy from. |
|
defaultnoexcept |
Move assignment operator.
Transfers the contents of another GeographicArea object to this one.
| other | The GeographicArea object to move from. It becomes in an unspecified state after the operation. |
|
inlinenoexcept |
Equality comparison operator for geographic areas.
| area | Another GeographicArea object to compare against. |
|
inline |
Retrieves the specific type of the geographic area.