Creates a new OrientedBox3
with the given position, orientation and extents.
The position of the center of the OrientedBox3
.
The rotation of the OrientedBox3
.
The extents of the OrientedBox3
.
The extents of this OrientedBox3
.
The position of the center of this OrientedBox3
.
The x-axis of this OrientedBox3
.
The y-axis of this OrientedBox3
.
The z-axis of this OrientedBox3
.
Create a copy of this [[OrientedBoundingBox]].
Returns true if this OrientedBox3 contains the given point.
A valid point.
Copies the values of other
to this OrientedBox3.
The other OrientedBox3 to copy.
Returns the distance from this OrientedBox3 and the given point
.
A point.
Returns the squared distance from this OrientedBox3 and the given point
.
A point.
Gets the center position of this OrientedBox3.
The returned center position.
Gets the orientation matrix of this OrientedBox3
.
The output orientation matrix.
Gets the size of this OrientedBox3.
The returned size.
Checks intersection with the given THREE.Frustum
or array of THREE.Plane
s.
Frustum or array of planes.
Checks intersection with the given ray.
The ray to test.
distance from ray origin to intersection point if it exist, undefined otherwise.
Generated using TypeDoc
Creates a new
OrientedBox3
.