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