Package | Description |
---|---|
org.cesiumjs.cs.core.geometry |
Modifier and Type | Method and Description |
---|---|
static BoxGeometry |
BoxGeometry.fromAxisAlignedBoundingBox(AxisAlignedBoundingBox boundingBox)
Creates a cube from the dimensions of an AxisAlignedBoundingBox.
|
static BoxGeometry |
BoxGeometry.fromDimensions(BoxGeometryOptions options)
Creates a cube centered at the origin given its dimensions.
|
static BoxGeometry |
BoxGeometry.unpack(double[] array)
Retrieves an instance from a packed array.
|
static BoxGeometry |
BoxGeometry.unpack(double[] array,
Integer startingIndex)
Retrieves an instance from a packed array.
|
static BoxGeometry |
BoxGeometry.unpack(double[] array,
Integer startingIndex,
BoxGeometry result)
Retrieves an instance from a packed array.
|
Modifier and Type | Method and Description |
---|---|
static Geometry |
BoxGeometry.createGeometry(BoxGeometry boxGeometry)
Computes the geometric representation of a box, including its vertices, indices, and a bounding sphere.
|
static double[] |
BoxGeometry.pack(BoxGeometry value,
double[] array)
Stores the provided instance into the provided array.
|
static double[] |
BoxGeometry.pack(BoxGeometry value,
double[] array,
Integer startingIndex)
Stores the provided instance into the provided array.
|
static BoxGeometry |
BoxGeometry.unpack(double[] array,
Integer startingIndex,
BoxGeometry result)
Retrieves an instance from a packed array.
|
Copyright © 2019. All rights reserved.