| Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 | SDK Documentation | Builds | BA3 Home |
Controls Scene-wide hit testing. More...
Public Member Functions | |
| VectorMarkerHit | getMarkerHits (vec2d point, bool onlyFirstHit) |
| Get a list of markers below a screen point. This will check each MakerMap. More... | |
| VectorPolygonHit | getPolygonHits (vec2d point, bool onlyFirstHit) |
| Get a list of polygons below a screen point. This will check each VectorMap. More... | |
| VectorModelHit | getModelHits (vec2d point, bool onlyFirstHit) |
| Get a list of models below a screen point. This will check each ModelMap. More... | |
| void | setAutomaticLineHitDetection (bool autoLineHitDetect) |
| Set whether or not vector line hit detection is performed automatically upon tap on all VectorMaps with a delegate defined. More... | |
| void | setAutomaticPolygonHitDetection (bool autoPolygonHitDetect) |
| Set whether or not vector polygon hit detection is performed automatically upon tap on all VectorMaps with a delegate defined. More... | |
| void | setAutomaticMarkerHitDetection (bool autoMarkerHitDetect) |
| Set whether or not marker hit detection is performed automatically upon tap on all MakerMap with a delegate defined. More... | |
| void | setAutomaticModelHitDetection (bool autoModelHitDetect) |
| Set whether or not model hit detection is performed automatically upon tap on all ModelMap with a delegate defined. More... | |
| vec3d | getWorldPositionOfTerrainAtScreenPoint (vec2d screenPoint) |
| GeographicPosition | getGeographicPositionOfTerrainAtScreenPoint (vec2d screenPoint) |
Controls Scene-wide hit testing.
| GeographicPosition AltusUnified::HitTesting::getGeographicPositionOfTerrainAtScreenPoint | ( | vec2d | screenPoint | ) |
| VectorMarkerHit AltusUnified::HitTesting::getMarkerHits | ( | vec2d | point, |
| bool | onlyFirstHit | ||
| ) |
Get a list of markers below a screen point. This will check each MakerMap.
| point | The screen location to query, in pointds. |
| onlyFirstHit | When true, only a single MarkerHit is returned. |
| VectorModelHit AltusUnified::HitTesting::getModelHits | ( | vec2d | point, |
| bool | onlyFirstHit | ||
| ) |
| VectorPolygonHit AltusUnified::HitTesting::getPolygonHits | ( | vec2d | point, |
| bool | onlyFirstHit | ||
| ) |
Get a list of polygons below a screen point. This will check each VectorMap.
| point | The screen location to query, in pointds. |
| onlyFirstHit | When true, only a single PolygonHit is returned. |
| void AltusUnified::HitTesting::setAutomaticLineHitDetection | ( | bool | autoLineHitDetect | ) |
Set whether or not vector line hit detection is performed automatically upon tap on all VectorMaps with a delegate defined.
| void AltusUnified::HitTesting::setAutomaticMarkerHitDetection | ( | bool | autoMarkerHitDetect | ) |
Set whether or not marker hit detection is performed automatically upon tap on all MakerMap with a delegate defined.
| void AltusUnified::HitTesting::setAutomaticModelHitDetection | ( | bool | autoModelHitDetect | ) |
Set whether or not model hit detection is performed automatically upon tap on all ModelMap with a delegate defined.
| void AltusUnified::HitTesting::setAutomaticPolygonHitDetection | ( | bool | autoPolygonHitDetect | ) |
Set whether or not vector polygon hit detection is performed automatically upon tap on all VectorMaps with a delegate defined.