ViewerPolylineAPIΒΆ
Interface ViewerPolylineAPI
Hierarchy
- ViewerPolylineAPI
Index
Methods
change Polyline
- change
Polyline(polylineId, properties): void -
Changes the properties of the Polyline with the specified Id.
Parameters
-
polylineId: number
The Id of the Polyline which should be removed.
-
properties: PolylineProperties
The properties which should be changed.
Returns void
-
create Polyline
- create
Polyline(positions, properties?): number -
Creates a new Polyline with the specified positions and properties.
Parameters
-
positions: number[]
List of 3D positions which defines the Polyline.
-
Optional
properties: PolylinePropertiesThe properties of the Polyline.
Returns number
-
The ViewerPolylineAPI provides basic functionalities to create and visualize Polylines.
Example