| Modifier and Type | Field and Description |
|---|---|
static Integer |
packedLength
The number of elements used to pack the object into an array.
|
attributes, boundingSphere, indices, primitiveType| Constructor and Description |
|---|
EllipsoidGeometry(EllipsoidGeometryOptions options)
A description of an ellipsoid centered at the origin.
|
| Modifier and Type | Method and Description |
|---|---|
static Geometry |
createGeometry(EllipsoidGeometry ellipsoidGeometry)
Computes the geometric representation of an ellipsoid, including its vertices, indices, and a bounding sphere.
|
static double[] |
pack(EllipsoidGeometry value,
double[] array)
Stores the provided instance into the provided array.
|
static double[] |
pack(EllipsoidGeometry value,
double[] array,
int startingIndex)
Stores the provided instance into the provided array.
|
static EllipsoidGeometry |
unpack(double[] array)
Retrieves an instance from a packed array.
|
static EllipsoidGeometry |
unpack(double[] array,
int startingIndex)
Retrieves an instance from a packed array.
|
static EllipsoidGeometry |
unpack(double[] array,
int startingIndex,
EllipsoidGeometry result)
Retrieves an instance from a packed array.
|
computeNumberOfVertices@JsProperty public static Integer packedLength
@JsConstructor public EllipsoidGeometry(EllipsoidGeometryOptions options)
options - EllipsoidGeometryOptionscreateGeometry(org.cesiumjs.cs.core.geometry.EllipsoidGeometry)@JsMethod public static Geometry createGeometry(EllipsoidGeometry ellipsoidGeometry)
ellipsoidGeometry - A description of the ellipsoid.@JsMethod public static double[] pack(EllipsoidGeometry value, double[] array)
value - The value to pack.array - The array to pack into.@JsMethod public static double[] pack(EllipsoidGeometry 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 EllipsoidGeometry unpack(double[] array)
array - The packed array.@JsMethod public static EllipsoidGeometry unpack(double[] array, int startingIndex)
array - The packed array.startingIndex - The starting index of the element to be unpacked.@JsMethod public static EllipsoidGeometry unpack(double[] array, int startingIndex, EllipsoidGeometry 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.