@JsType(isNative=true, namespace="Cesium", name="WallOutlineGeometry") public class WallOutlineGeometry extends Geometry implements Packable
Modifier and Type | Field and Description |
---|---|
static double |
packedLength
The number of elements used to pack the object into an array.
|
attributes, boundingSphere, indices, primitiveType
Constructor and Description |
---|
WallOutlineGeometry(WallOutlineGeometryOptions options)
A description of a wall, which is similar to a KML line string.
|
Modifier and Type | Method and Description |
---|---|
static Geometry |
createGeometry(WallOutlineGeometry wallGeometry)
Computes the geometric representation of a wall, including its vertices, indices, and a bounding sphere.
|
static WallOutlineGeometry |
fromConstantHeights(WallOutlineGeometryOptions options)
A description of a wall, which is similar to a KML line string.
|
static double[] |
pack(WallOutlineGeometry value,
double[] array)
Stores the provided instance into the provided array.
|
static double[] |
pack(WallOutlineGeometry value,
double[] array,
int startingIndex)
Stores the provided instance into the provided array.
|
static WallOutlineGeometry |
unpack(double[] array)
Retrieves an instance from a packed array.
|
static WallOutlineGeometry |
unpack(double[] array,
int startingIndex)
Retrieves an instance from a packed array.
|
static WallOutlineGeometry |
unpack(double[] array,
int startingIndex,
WallOutlineGeometry result)
Retrieves an instance from a packed array.
|
computeNumberOfVertices
@JsProperty public static double packedLength
@JsConstructor public WallOutlineGeometry(WallOutlineGeometryOptions options)
options
- WallGeometryOptions
@JsMethod public static Geometry createGeometry(WallOutlineGeometry wallGeometry)
wallGeometry
- A description of the wall.@JsMethod public static WallOutlineGeometry fromConstantHeights(WallOutlineGeometryOptions options)
options
- WallOutlineGeometryOptions
createGeometry(org.cesiumjs.cs.core.geometry.WallOutlineGeometry)
@JsMethod public static double[] pack(WallOutlineGeometry value, double[] array)
value
- The value to pack.array
- The array to pack into.@JsMethod public static double[] pack(WallOutlineGeometry value, double[] array, int startingIndex)
value
- The value to pack.array
- The array to pack into.startingIndex
- The index into the array at which to start packing the elements.@JsMethod public static WallOutlineGeometry unpack(double[] array)
array
- The packed array.@JsMethod public static WallOutlineGeometry unpack(double[] array, int startingIndex)
array
- The packed array.startingIndex
- The starting index of the element to be unpacked.@JsMethod public static WallOutlineGeometry unpack(double[] array, int startingIndex, WallOutlineGeometry result)
array
- The packed array.startingIndex
- The starting index of the element to be unpacked.result
- The object into which to store the result.Copyright © 2019. All rights reserved.