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 |
---|
SimplePolylineGeometry(SimplePolylineGeometryOptions options)
A description of a polyline modeled as a line strip; the first two positions define a line segment,
and each additional position defines a line segment from the previous position.
|
Modifier and Type | Method and Description |
---|---|
static Geometry |
createGeometry(SimplePolylineGeometry simplePolylineGeometry)
Computes the geometric representation of a simple polyline, including its vertices, indices, and a bounding sphere.
|
static double[] |
pack(SimplePolylineGeometry value,
double[] array)
Stores the provided instance into the provided array.
|
static double[] |
pack(SimplePolylineGeometry value,
double[] array,
int startingIndex)
Stores the provided instance into the provided array.
|
static SimplePolylineGeometry |
unpack(double[] array)
Retrieves an instance from a packed array.
|
static SimplePolylineGeometry |
unpack(double[] array,
int startingIndex)
Retrieves an instance from a packed array.
|
static SimplePolylineGeometry |
unpack(double[] array,
int startingIndex,
SimplePolylineGeometry result)
Retrieves an instance from a packed array.
|
computeNumberOfVertices
@JsProperty public static double packedLength
@JsConstructor public SimplePolylineGeometry(SimplePolylineGeometryOptions options)
options
- SimplePolylineGeometryOptions
@JsMethod public static Geometry createGeometry(SimplePolylineGeometry simplePolylineGeometry)
simplePolylineGeometry
- A description of the polyline.@JsMethod public static double[] pack(SimplePolylineGeometry value, double[] array)
value
- The value to pack.array
- The array to pack into.@JsMethod public static double[] pack(SimplePolylineGeometry 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 SimplePolylineGeometry unpack(double[] array)
array
- The packed array.@JsMethod public static SimplePolylineGeometry unpack(double[] array, int startingIndex)
array
- The packed array.startingIndex
- The starting index of the element to be unpacked.@JsMethod public static SimplePolylineGeometry unpack(double[] array, int startingIndex, SimplePolylineGeometry 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.