Uses of Interface
com.solibri.geometry.primitive2d.AABB2d
Package | Description |
---|---|
com.solibri.geometry.primitive2d |
-
Uses of AABB2d in com.solibri.geometry.primitive2d
Subinterfaces of AABB2d in com.solibri.geometry.primitive2d Modifier and Type Interface Description interface
MAABB2d
Interface that represents a mutable axis-aligned bounding box in the XY-plane.Methods in com.solibri.geometry.primitive2d that return AABB2d Modifier and Type Method Description static AABB2d
AABB2d. create(Vector2d lowerBound, Vector2d upperBound)
Returns a bounding box with the given bounds.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.Methods in com.solibri.geometry.primitive2d with parameters of type AABB2d Modifier and Type Method 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.