Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 | SDK Documentation | Builds | BA3 Home |
Represents a "hit" or "click" or "tap" on a 2D line or polygon. More...
Public Member Functions | |
VectorGeometryHit (string mapName, string shapeId, vec2d geoCoord, VectorGeometryHitType hitType) | |
Creates an instance of VectorGeometryHit. More... | |
vec2d | geoCoord () |
The geographic coordinate of the hit. More... | |
void | geoCoord_set (vec2d val) |
Public Attributes | |
string | mapName |
The name of the map layer. More... | |
string | shapeId |
The unique ID of the shape that was hit. More... | |
VectorGeometryHitType | hitType |
The type of hit: a vertex can be directly hit, or the line segment between vertices. More... | |
Represents a "hit" or "click" or "tap" on a 2D line or polygon.
AltusUnified::VectorGeometryHit::VectorGeometryHit | ( | string | mapName, |
string | shapeId, | ||
vec2d | geoCoord, | ||
VectorGeometryHitType | hitType | ||
) |
Creates an instance of VectorGeometryHit.
mapName | The name of the map layer the hit occured on. |
shapeId | The unique ID of the shape that was hit. |
geoCoord | The geographic coordinate of the hit. |
hitType | The type of hit: a vertex can be directly hit, or the line segment between vertices. |
vec2d AltusUnified::VectorGeometryHit::geoCoord | ( | ) |
The geographic coordinate of the hit.
void AltusUnified::VectorGeometryHit::geoCoord_set | ( | vec2d | val | ) |
VectorGeometryHitType AltusUnified::VectorGeometryHit::hitType |
The type of hit: a vertex can be directly hit, or the line segment between vertices.
string AltusUnified::VectorGeometryHit::mapName |
The name of the map layer.
string AltusUnified::VectorGeometryHit::shapeId |
The unique ID of the shape that was hit.