@JsType(isNative=true,
namespace="Cesium",
name="PolygonOutlineGeometry")
public class PolygonOutlineGeometry
extends Geometry
implements Packable
| 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 |
|---|
PolygonOutlineGeometry(PolygonOutlineGeometryOptions options) |
| Modifier and Type | Method and Description |
|---|---|
static Geometry |
createGeometry(PolygonOutlineGeometry polygonGeometry)
Computes the geometric representation of a polygon outline, including its vertices, indices, and a bounding sphere.
|
static PolygonOutlineGeometry |
fromPositions(PolygonOutlineGeometryOptions options)
A description of a polygon outline from an array of positions.
|
static double[] |
pack(PolygonOutlineGeometry value,
double[] array)
Stores the provided instance into the provided array.
|
static double[] |
pack(PolygonOutlineGeometry value,
double[] array,
int startingIndex)
Stores the provided instance into the provided array.
|
static PolygonOutlineGeometry |
unpack(double[] array)
Retrieves an instance from a packed array.
|
static PolygonOutlineGeometry |
unpack(double[] array,
int startingIndex)
Retrieves an instance from a packed array.
|
static PolygonOutlineGeometry |
unpack(double[] array,
int startingIndex,
PolygonOutlineGeometry result)
Retrieves an instance from a packed array.
|
computeNumberOfVertices@JsProperty public int packedLength
@JsConstructor public PolygonOutlineGeometry(PolygonOutlineGeometryOptions options)
@JsMethod public static Geometry createGeometry(PolygonOutlineGeometry polygonGeometry)
polygonGeometry - A description of the polygon outline.@JsMethod public static PolygonOutlineGeometry fromPositions(PolygonOutlineGeometryOptions options)
options - PolygonOutlineGeometryOptions.PolygonOutlineGeometry@JsMethod public static double[] pack(PolygonOutlineGeometry value, double[] array)
value - The value to pack.array - The array to pack into.@JsMethod public static double[] pack(PolygonOutlineGeometry 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 PolygonOutlineGeometry unpack(double[] array)
array - The packed array.@JsMethod public static PolygonOutlineGeometry unpack(double[] array, int startingIndex)
array - The packed array.startingIndex - The starting index of the element to be unpacked.@JsMethod public static PolygonOutlineGeometry unpack(double[] array, int startingIndex, PolygonOutlineGeometry 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.