Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 SDK Documentation | Builds | BA3 Home
AltusUnified::VertexHit Class Reference

Represents a "hit" or "click" or "tap" on a 2D line or polygon. More...

Inheritance diagram for AltusUnified::VertexHit:
Collaboration diagram for AltusUnified::VertexHit:

Public Member Functions

 VertexHit (string mapName, string shapeId, vec2d geoCoord, int vertexIndex)
 
 Public Member Functions inherited from AltusUnified::VectorGeometryHit
 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

int vertexIndex
 
 Public Attributes inherited from AltusUnified::VectorGeometryHit
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...
 

Detailed Description

Represents a "hit" or "click" or "tap" on a 2D line or polygon.

Constructor & Destructor Documentation

AltusUnified::VertexHit::VertexHit ( string  mapName,
string  shapeId,
vec2d  geoCoord,
int  vertexIndex 
)

Member Data Documentation

int AltusUnified::VertexHit::vertexIndex