|
Maps SDK for C++ 1.0.0
|
Coordinate referenced OverlayItem object. More...


Public Member Functions | |
| OverlayItemPosition (const OverlayItemPosition &item)=default | |
| Default copy constructor. | |
| OverlayItemPosition (OverlayItemPosition &&item)=default | |
| Default move constructor noexcept is deduced. | |
| OverlayItemPosition & | operator= (const OverlayItemPosition &item)=default |
| Default copy assignment. | |
| OverlayItemPosition & | operator= (OverlayItemPosition &&item)=default |
| Default move assignment noexcept is deduced. | |
| const OverlayItemRef | getOverlayItem () const noexcept |
| Get the OverlayItem object. | |
| int | getDistance () const noexcept |
| Get distance in meters from reference coordinates to the OverlayItem object. | |
| int | getDeviation () const noexcept |
| Get deviation in meters from reference coordinates to the OverlayItem object. | |
Coordinate referenced OverlayItem object.
Implements share-read / copy-on-write Api object over IOverlayItemPosition.
|
default |
Default copy constructor.
| item | The OverlayItemPosition object to copy |
|
default |
Default move constructor noexcept is deduced.
| item | The OverlayItemPosition object to move |
|
inlinenoexcept |
Get deviation in meters from reference coordinates to the OverlayItem object.
The deviation is equal with distance except when the overlay is related to a route (e.g. an alarm along route) in which case is calculated as a straight line distance between the overlay and the closest point on the route
|
inlinenoexcept |
Get distance in meters from reference coordinates to the OverlayItem object.
The distance is calculated as a straight line distance between two coordinates except when the overlay is related to a route (e.g. an alarm along route) in which case the distance is calculated along the route
|
inlinenoexcept |
Get the OverlayItem object.
|
default |
Default copy assignment.
| item | The OverlayItemPosition object to copy |
|
default |
Default move assignment noexcept is deduced.
| item | The OverlayItemPosition object to move |