Package | Description |
---|---|
com.solibri.geometry.primitive2d |
Modifier and Type | Interface and Description |
---|---|
interface |
MAABB2d
Interface that represents a mutable axis-aligned bounding box in the
XY-plane.
|
Modifier and Type | Method and Description |
---|---|
static AABB2d |
AABB2d.create(AABB2d boundingBox)
Returns a bounding box with the same bounds as in the given bounding box.
|
static AABB2d |
AABB2d.create(Collection<Vector2d> points)
Returns the minimum area axis-aligned bounding box for the given
collection of points.
|
static AABB2d |
AABB2d.create(Vector2d lowerBound,
Vector2d upperBound)
Returns a bounding box with the given bounds.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AABB2d.contains(AABB2d box)
Returns true if the given bounding box is inside this bounding box.
|
static AABB2d |
AABB2d.create(AABB2d boundingBox)
Returns a bounding box with the same bounds as in the given bounding box.
|
static MAABB2d |
MAABB2d.create(AABB2d boundingBox)
Returns a bounding box with the same bounds as in the given bounding box.
|
boolean |
AABB2d.intersects(AABB2d aabb)
Returns true if this bounding box intersects the given bounding box.
|
boolean |
Ray2d.intersects(AABB2d aabb)
Returns true if the ray intersects with the bounding rectangle, false
otherwise.
|
Copyright © 2019 Solibri, Inc.. All rights reserved.