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

Represents a dynamic 2D polygon, extruded into 3D using a min and max altitude. More...

Inheritance diagram for AltusUnified::DynamicExtrudedPolygon:
Collaboration diagram for AltusUnified::DynamicExtrudedPolygon:

Public Member Functions

 DynamicExtrudedPolygon (string shapeId)
 Construct a DynamicExtrudedPolygon More...
 
VectorGeographicPosition2D points ()
 List of points in 2D representing the perimiter of the polygon More...
 
void points_set (VectorGeographicPosition2D val)
 
 Public Member Functions inherited from AltusUnified::DynamicShape
string shapeID ()
 Returns the shape ID. More...
 

Public Attributes

double minAltitude
 Base altitude of the extrusion, in meters More...
 
double maxAltitude
 Ceiling altitude of the extrusion, in meters More...
 
 Public Attributes inherited from AltusUnified::DynamicShape
bool visible
 Sets shape visibility. More...
 

Detailed Description

Represents a dynamic 2D polygon, extruded into 3D using a min and max altitude.

Constructor & Destructor Documentation

AltusUnified::DynamicExtrudedPolygon::DynamicExtrudedPolygon ( string  shapeId)

Construct a DynamicExtrudedPolygon

Parameters
shapeIdName of this polygon

Member Function Documentation

VectorGeographicPosition2D AltusUnified::DynamicExtrudedPolygon::points ( )

List of points in 2D representing the perimiter of the polygon

void AltusUnified::DynamicExtrudedPolygon::points_set ( VectorGeographicPosition2D  val)

Member Data Documentation

double AltusUnified::DynamicExtrudedPolygon::maxAltitude

Ceiling altitude of the extrusion, in meters

double AltusUnified::DynamicExtrudedPolygon::minAltitude

Base altitude of the extrusion, in meters