Description

Axis-aligned bounding box in integer gridd coordinates.

#include <ChGeometry.h>

Collaboration diagram for chrono::ChIntAABB:

Public Member Functions

 ChIntAABB ()
 Default is an inverted bounding box.
 
 ChIntAABB (const ChVector3i &aabb_min, const ChVector3i &aabb_max)
 Construct an AABB with provided corners.
 
ChVector3i Size () const
 Get AABB dimensions.
 
bool IsInverted () const
 Return true for an inverted bounding box.
 
ChIntAABB operator+ (const ChIntAABB &aabb)
 Return the union of this AABB and the specified AABB.
 
ChIntAABBoperator+= (const ChIntAABB &aabb)
 Include the specified AABB in this AABB.
 
ChIntAABBoperator+= (const ChVector3i p)
 Include the specified point in this AABB.
 

Public Attributes

ChVector3i min
 low AABB corner
 
ChVector3i max
 high AABB corner
 

The documentation for this struct was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/geometry/ChGeometry.h
  • /builds/uwsbel/chrono/src/chrono/geometry/ChGeometry.cpp