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


Public Member Functions | |
| CircleGeographicArea () | |
| Default constructor. | |
| CircleGeographicArea (Coordinates const ¢er, int radius) | |
| Construct from center and radius in meters. | |
| CircleGeographicArea (const CircleGeographicArea &)=default | |
| Default copy constructor. | |
| CircleGeographicArea (CircleGeographicArea &&obj) noexcept | |
| Default move constructor noexcept is deduced. | |
| CircleGeographicArea & | operator= (const CircleGeographicArea &obj)=default |
| Default copy assignment. | |
| CircleGeographicArea & | operator= (CircleGeographicArea &&obj) noexcept |
| Default move assignment noexcept is deduced. | |
| CircleGeographicArea & | setCenterPoint (Coordinates const ¢er) noexcept |
| Set the center of the circular geographic area. | |
| int | getRadius () const noexcept |
| Get the radius of the circular geographic area in meters. | |
| CircleGeographicArea & | setRadius (int radius) noexcept |
| Set the radius of the circular geographic area in meters. | |
| CircleGeographicArea & | set (Coordinates const ¢er, int radius) noexcept |
| Set the center & radius. | |
| 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. | |
Static Public Member Functions | |
| static constexpr EGeographicAreaType | type () noexcept |
| Get the type of the geographic area. | |
CircleGeographicArea object.
Implements share-read / copy-on-write Api object over ICircleGeographicArea.
|
inline |
Construct from center and radius in meters.
| center | Coordinates of the circle. |
| radius | Radius in meters. |
|
inlinenoexcept |
Default move constructor noexcept is deduced.
| obj | The object to move into this new instance. |
|
inlinenoexceptinherited |
Attempts to cast the current geographic area object to a specified subclass.
This is a template method.
| TSubclass | The subclass type to cast to. |
|
inlineinherited |
Checks if the specified point is contained within the geographic area.
| point | A Coordinates object representing the point to check. |
|
inlinenoexceptinherited |
Converts the geographic area to another type, if possible.
| area | A GeographicArea object to convert to. |
|
inlinenoexceptinherited |
Checks if two geographic areas are considered equal.
| other | Another GeographicArea object for comparison. |
|
inlinenoexceptinherited |
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.
|
inlinenoexceptinherited |
Retrieves the center point of the geographic area.
Calculates and returns the geographic center of the area.
|
inlinenoexcept |
Get the radius of the circular geographic area in meters.
|
inlineoverrideinherited |
Determines if the current geographic area object is in its default state (unaltered since creation).
|
inlinenoexceptinherited |
Checks if the geographic area is empty.
|
inlineexplicitnoexceptinherited |
Boolean conversion operator indicating if the geographic area is valid and not in its default state.
|
inlinenoexceptinherited |
Inequality comparison operator for geographic areas.
| area | Another GeographicArea object to compare against. |
|
inlinenoexcept |
Default move assignment noexcept is deduced.
| obj | The object to move into this instance. |
|
default |
Default copy assignment.
| obj | The object to copy. |
|
inlinenoexceptinherited |
Equality comparison operator for geographic areas.
| area | Another GeographicArea object to compare against. |
|
inlinenoexcept |
Set the center & radius.
| center | Coordinates of the circle. |
| radius | Radius in meters. |
|
inlinenoexcept |
Set the center of the circular geographic area.
| center | Coordinates of the circle. |
|
inlinenoexcept |
Set the radius of the circular geographic area in meters.
| radius | Radius in meters. |
|
inlinestaticconstexprnoexcept |
Get the type of the geographic area.
|
inlineinherited |
Retrieves the specific type of the geographic area.