Package | Description |
---|---|
org.cesiumjs.cs.core |
Modifier and Type | Method and Description |
---|---|
OrientedBoundingBox |
OrientedBoundingBox.clone()
Duplicates this OrientedBoundingBox instance.
|
static OrientedBoundingBox |
OrientedBoundingBox.clone(OrientedBoundingBox box,
OrientedBoundingBox result)
Duplicates a OrientedBoundingBox instance.
|
static OrientedBoundingBox |
OrientedBoundingBox.fromPoints(Cartesian3[] positions)
Computes an instance of an OrientedBoundingBox of the given positions.
|
static OrientedBoundingBox |
OrientedBoundingBox.fromPoints(Cartesian3[] positions,
OrientedBoundingBox result)
Computes an instance of an OrientedBoundingBox of the given positions.
|
static OrientedBoundingBox |
OrientedBoundingBox.fromRectangle(Rectangle rectangle)
Computes an OrientedBoundingBox that bounds a Rectangle on the surface of an Ellipsoid.
|
static OrientedBoundingBox |
OrientedBoundingBox.fromRectangle(Rectangle rectangle,
double minimumHeight,
double maximumHeight,
Ellipsoid ellipsoid)
Computes an OrientedBoundingBox that bounds a Rectangle on the surface of an Ellipsoid.
|
static OrientedBoundingBox |
OrientedBoundingBox.fromRectangle(Rectangle rectangle,
double minimumHeight,
double maximumHeight,
Ellipsoid ellipsoid,
OrientedBoundingBox result)
Computes an OrientedBoundingBox that bounds a Rectangle on the surface of an Ellipsoid.
|
static OrientedBoundingBox |
OrientedBoundingBox.unpack(double[] array,
int startingIndex,
OrientedBoundingBox result)
Retrieves an instance from a packed array.
|
Modifier and Type | Method and Description |
---|---|
static OrientedBoundingBox |
OrientedBoundingBox.clone(OrientedBoundingBox box,
OrientedBoundingBox result)
Duplicates a OrientedBoundingBox instance.
|
static Interval |
OrientedBoundingBox.computePlaneDistances(OrientedBoundingBox box,
Cartesian3 position,
Cartesian3 direction)
The distances calculated by the vector from the center of the bounding box to position projected onto direction.
|
static Interval |
OrientedBoundingBox.computePlaneDistances(OrientedBoundingBox box,
Cartesian3 position,
Cartesian3 direction,
Interval result)
The distances calculated by the vector from the center of the bounding box to position projected onto direction.
|
static double |
OrientedBoundingBox.distanceSquaredTo(OrientedBoundingBox box,
Cartesian3 cartesian)
Computes the estimated distance squared from the closest point on a bounding box to a point.
|
boolean |
OrientedBoundingBox.equals(OrientedBoundingBox right)
Compares this OrientedBoundingBox against the provided OrientedBoundingBox componentwise and returns true if
they are equal, false otherwise.
|
static boolean |
OrientedBoundingBox.equals(OrientedBoundingBox left,
OrientedBoundingBox right)
Compares the provided OrientedBoundingBox componentwise and returns true if they are equal, false otherwise.
|
static BoundingSphere |
BoundingSphere.fromOrientedBoundingBox(OrientedBoundingBox orientedBoundingBox)
Computes a tight-fitting bounding sphere enclosing the provided oriented bounding box.
|
static BoundingSphere |
BoundingSphere.fromOrientedBoundingBox(OrientedBoundingBox orientedBoundingBox,
BoundingSphere result)
Computes a tight-fitting bounding sphere enclosing the provided oriented bounding box.
|
static OrientedBoundingBox |
OrientedBoundingBox.fromPoints(Cartesian3[] positions,
OrientedBoundingBox result)
Computes an instance of an OrientedBoundingBox of the given positions.
|
static OrientedBoundingBox |
OrientedBoundingBox.fromRectangle(Rectangle rectangle,
double minimumHeight,
double maximumHeight,
Ellipsoid ellipsoid,
OrientedBoundingBox result)
Computes an OrientedBoundingBox that bounds a Rectangle on the surface of an Ellipsoid.
|
static Integer |
OrientedBoundingBox.intersectPlane(OrientedBoundingBox box,
Plane plane)
Determines which side of a plane the oriented bounding box is located.
|
static boolean |
OrientedBoundingBox.isOccluded(OrientedBoundingBox box,
Occluder occluder)
Determines whether or not a bounding box is hidden from view by the occluder.
|
static double[] |
OrientedBoundingBox.pack(OrientedBoundingBox value,
double[] array)
Stores the provided instance into the provided array.
|
static double[] |
OrientedBoundingBox.pack(OrientedBoundingBox value,
double[] array,
int startingIndex)
Stores the provided instance into the provided array.
|
static OrientedBoundingBox |
OrientedBoundingBox.unpack(double[] array,
int startingIndex,
OrientedBoundingBox result)
Retrieves an instance from a packed array.
|
Copyright © 2019. All rights reserved.