Package | Description |
---|---|
com.solibri.geometry.mesh | |
com.solibri.geometry.primitive3d | |
com.solibri.smc.api.filter | |
com.solibri.smc.api.model | |
com.solibri.smc.api.visualization |
Modifier and Type | Method and Description |
---|---|
Optional<AABB3d> |
TriangleMesh.getBoundingBox()
Returns the axis aligned bounding box of the
TriangleMesh . |
Modifier and Type | Interface and Description |
---|---|
interface |
MAABB3d
Interface that represents a mutable axis-aligned bounding box in
3-dimensional space.
|
Modifier and Type | Method and Description |
---|---|
static AABB3d |
AABB3d.create(AABB3d boundingBox)
Returns a new instance of a bounding box with the same bounds as in the
given bounding box.
|
static AABB3d |
AABB3d.create(Collection<Vector3d> points)
Returns the minimum volume axis-aligned bounding box for the given
collection of points.
|
static AABB3d |
AABB3d.create(Vector3d lowerBound,
Vector3d upperBound)
Returns a bounding box with the given bounds.
|
AABB3d |
Polygon3d.getBoundingBox()
Returns the bounding box.
|
AABB3d |
Triangle3d.getBoundingBox()
Returns the axis-aligned bounding box of this triangle.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AABB3d.contains(AABB3d box)
Returns true if the given bounding box is inside this bounding box.
|
static AABB3d |
AABB3d.create(AABB3d boundingBox)
Returns a new instance of a bounding box with the same bounds as in the
given bounding box.
|
static MAABB3d |
MAABB3d.create(AABB3d boundingBox)
Returns a new instance of a bounding box with the same bounds as in the
given bounding box.
|
double |
AABB3d.distance(AABB3d box)
Returns the minimum distance between this bounding box and the given
bounding box.
|
double |
AABB3d.distanceSquared(AABB3d box)
Returns the square of the minimum distance between this bounding box and
the given bounding box.
|
boolean |
AABB3d.intersects(AABB3d aabb)
Returns true if this bounding box intersects the given bounding box.
|
boolean |
Line3d.intersects(AABB3d aabb)
Returns true if the line intersects the axis-aligned bounding box, false
otherwise.
|
boolean |
Ray3d.intersects(AABB3d aabb)
Returns true if the ray intersects with the box, false otherwise.
|
Modifier and Type | Method and Description |
---|---|
static AABBIntersectionFilter |
AABBIntersectionFilter.of(AABB3d boundingBox)
Returns a filter that accepts components whose AABBs intersect the given AABB.
|
Modifier and Type | Method and Description |
---|---|
AABB3d |
Component.getBoundingBox()
Calculates the axis-aligned bounding box for this component.
|
Modifier and Type | Method and Description |
---|---|
static VisualizationItem |
VisualizationItem.createBoundingBox(AABB3d aabb)
Creates a visualization for an axis aligned bounding box.
|
Copyright © 2019 Solibri, Inc.. All rights reserved.