VgINavigationModule provides access to navigation related objects
VgNavigationModule::VgINavigationModule::VgINavigationModule |
( |
| ) |
|
|
inlineprotected |
virtual VgNavigationModule::VgINavigationModule::~VgINavigationModule |
( |
| ) |
|
|
inlinevirtual |
Computes a navigation given some parameters.
- Parameters
-
pParameters | Parameters to determine the Navigation to be computed. A notify function will be called on callback within pParameters once the navigation has been computed. |
- Returns
- VgNavigationModule::VgINavigationRequest, NULL if request is handled synchronously.
Computes a navigation given some parameters.
- Parameters
-
pParameters | Parameters to determine the Navigation to be computed. |
- Returns
- VgNavigationModule::VgINavigation, A navigation object. If the navigation computation failed, the navigtaion object will be invalid
- Version
- 2.1.8
Get the PlaceIDs of places near a position. They are ordered by distance from the position The number of places available will be a function of the value of VgNearPlacesParameters::mThreshold It may be empty if there are no places that are closer than VgNearPlacesParameters::mThreshold. Uses access points to determine Place center.
- Parameters
-
pPosition | input position, the .mZOrAltitude, will only be taking into account if pParameters.mLayerName is empty (default) |
pParameters | near places parameters that determine the distance threshold, optionally a layer name and a heading. |
lParameters.
mHeading = lApp->editEngine()->editCamera()->getHeading();
VgEngine::VgPosition lPosition(4.8835509,45.7399682,8.0);
if (lNearPlaces.size() > 0)
{
}
- Returns
- vector of VgNearPlace sorted by distance. The angle will be the clock-wise angle between the pParameters.mHeading and the place.
- Version
- 2.1.8
The documentation for this interface was generated from the following file: