Modifier and Type | Field and Description |
---|---|
int |
packedLength
The number of elements used to pack the object into an array.
|
attributes, boundingSphere, indices, primitiveType
Constructor and Description |
---|
CoplanarPolygonGeometry(CoplanarPolygonGeometryOptions options) |
Modifier and Type | Method and Description |
---|---|
static Geometry |
createGeometry(CoplanarPolygonGeometry polygonGeometry)
Computes the geometric representation of an arbitrary coplanar polygon, including its vertices, indices, and a bounding sphere.
|
static CoplanarPolygonGeometry |
fromPositions(CoplanarPolygonGeometryFromPositionsOptions options)
A description of a coplanar polygon from an array of positions.
|
computeNumberOfVertices
@JsProperty public int packedLength
@JsConstructor public CoplanarPolygonGeometry(CoplanarPolygonGeometryOptions options)
@JsMethod public static Geometry createGeometry(CoplanarPolygonGeometry polygonGeometry)
polygonGeometry
- A description of the polygon.@JsMethod public static CoplanarPolygonGeometry fromPositions(CoplanarPolygonGeometryFromPositionsOptions options)
options
- CoplanarPolygonGeometryFromPositionsOptions
objectCopyright © 2019. All rights reserved.