|
Maps SDK for C++ 1.0.0
|


Public Member Functions | |
| Marker ()=default | |
| Default constructor. | |
| Marker (const Marker &v) | |
| Default copy constructor. | |
| Marker (Marker &&marker)=default | |
| Default move constructor noexcept is deduced. | |
| Marker (std::initializer_list< double > ilist) | |
| Construct from initializer list. | |
| Marker (CoordinatesList const &coords) | |
| Construct from a list of coordinates. | |
| Marker (const Coordinates ¢er, int radius) | |
| Construct a circle shape marker. | |
| Marker (const Coordinates ¢er, int horizRadius, int vertRadius) | |
| Construct a rectangle shape marker. | |
| Marker (const Coordinates &pt1, const Coordinates &pt2) | |
| Construct a rectangle shape marker. | |
| Marker (const GeographicArea &area) | |
| Construct a marker from a geographic area. | |
| Marker (const Coordinates &coordinates, const String &name) | |
| Construct a marker from coordinates and name. | |
| Marker & | operator= (const Marker &v) |
| Default copy assignment. | |
| Marker & | operator= (Marker &&marker)=default |
| Default move assignment noexcept is deduced. | |
| bool | operator== (const Marker &marker) const |
| Comparison operator equal. | |
| bool | operator!= (const Marker &marker) const |
| Comparison operator not equal. | |
| LargeInteger | getId () const noexcept |
| Get marker unique id. | |
| int | getPartCount () const noexcept |
| Get marker parts count. | |
| int | getCoordinatesCount (int part=0) const noexcept |
| Get marker coordinates count. | |
| Marker & | delPart (int part) noexcept |
| Delete a part from marker. | |
| CoordinatesList | getCoordinates (int part=0) const noexcept |
| Get marker coordinates list. | |
| RectangleGeographicArea | getArea () const noexcept |
| Get marker enclosing area. | |
| RectangleGeographicArea | getPartArea (int part) const noexcept |
| Get marker part enclosing area. | |
| Marker & | setCoordinates (const CoordinatesList &coords, int part=0) noexcept |
| Set marker part coordinates. | |
| Coordinates | getCoordinate (int index, int part) const noexcept |
| Get coordinate from the given part, at the given index. | |
| Marker & | add (const Coordinates &coord, int index=-1, int part=0) noexcept |
| Add a new coordinate to the marker. | |
| Marker & | add (const CoordinatesList &coords, int index=-1, int part=0) noexcept |
| Add coordinate list to the marker. | |
| Marker & | del (int index, int part=0) noexcept |
| Delete a coordinate from the marker. | |
| Marker & | delRange (int from, int to=-1, int part=0) noexcept |
| Delete a range of coordinates from the marker between given indexes. | |
| Marker & | update (const Coordinates &coord, int index, int part=0) noexcept |
| Update a coordinate in the marker. | |
| Marker & | setName (const String &name) noexcept |
| Set marker name. | |
| Marker & | setName (const char *name) noexcept |
| Set marker name from a null terminated UTF-8 string. | |
| const StringRef | getName () const noexcept |
| Get marker name. | |
Implements share-read / share-write Api object over IMarker
|
inline |
Default copy constructor.
| v | Marker |
|
default |
Default move constructor noexcept is deduced.
| marker | Marker |
|
inline |
Construct from initializer list.
| [in] | ilist | Initializer list |
|
inline |
Construct from a list of coordinates.
| [in] | coords | Coordinates list |
|
inline |
Construct a circle shape marker.
| [in] | center | Circle center |
| [in] | radius | Circle radius in meters |
|
inline |
Construct a rectangle shape marker.
| [in] | center | Rectangle center |
| [in] | horizRadius | Horizontal rectangle radius in meters |
| [in] | vertRadius | Vertical rectangle radius in meters |
|
inline |
Construct a rectangle shape marker.
| [in] | pt1 | First corner |
| [in] | pt2 | Second corner |
|
inline |
Construct a marker from a geographic area.
| [in] | area | The geographic area which shape will be converted to marker |
|
inline |
Construct a marker from coordinates and name.
| [in] | coordinates | The coordinates of the marker. |
| [in] | name | The name of the marker. |
|
inlinenoexcept |
Add a new coordinate to the marker.
| [in] | coord | The coordinate to be added |
| [in] | index | The position where the coordinate is added, default -1 ( append at the end ) |
| [in] | part | The marker part index to which the function applies, default 0 ( first part ) |
If part == getPartCount(), a new part is automatically added to the marker and the coordinate is assigned to it
|
inlinenoexcept |
Add coordinate list to the marker.
| [in] | coords | The coordinates list to be added |
| [in] | index | The position where the coordinates is added, default -1 ( append at the end ) |
| [in] | part | The marker part index to which the function applies, default 0 ( first part ) |
If part == getPartCount(), a new part is automatically added to the marker and the coordinate is assigned to it
|
inlinenoexcept |
Delete a coordinate from the marker.
| [in] | index | The position of the deleted coordinate |
| [in] | part | The marker part index to which the function applies, default 0 ( first part ) |
|
inlinenoexcept |
Delete a part from marker.
| [in] | part | The marker part index to be deleted |
|
inlinenoexcept |
Delete a range of coordinates from the marker between given indexes.
| [in] | from | The start index of the deleted coordinates list |
| [in] | to | The last index of the deleted coordinates list ( excluding ). If -1, the delete will perform until the end of the coordinates list |
| [in] | part | The marker part index to which the function applies, default 0 ( first part ) |
|
inlinenoexcept |
Get marker enclosing area.
|
inlinenoexcept |
Get coordinate from the given part, at the given index.
| [in] | index | The coordinate index in the part |
| [in] | part | The marker part index to which the function applies, default 0 ( first part ) |
|
inlinenoexcept |
Get marker coordinates list.
| [in] | part | The marker part index to which the function applies, default 0 ( first part ) |
|
inlinenoexcept |
Get marker coordinates count.
| [in] | part | The marker part index to which the function applies, default 0 ( first part ) |
|
inlinenoexcept |
Get marker unique id.
|
inlinenoexcept |
Get marker part enclosing area.
| [in] | part | The marker part index to which the function applies |
|
inlinenoexcept |
Get marker parts count.
|
inline |
|
inline |
|
inlinenoexcept |
Set marker part coordinates.
| [in] | coords | The coordinates list to be set as marker part |
| [in] | part | The marker part index to which the function applies, default 0 ( first part ) |
If part == getPartCount(), a new part is automatically added to the marker and the coordinate is assigned to it
|
inlinenoexcept |
|
inlinenoexcept |
Update a coordinate in the marker.
| [in] | coord | The new coordinate value |
| [in] | index | The position of the updated coordinate |
| [in] | part | The marker part index to which the function applies, default 0 ( first part ) |