Description

Axis-aligned bounding box.

#include <ChGeometry.h>

Collaboration diagram for chrono::ChAABB:

Public Member Functions

 ChAABB ()
 Default is an inverted bounding box.
 
 ChAABB (const ChVector3d &aabb_min, const ChVector3d &aabb_max)
 Construct an AABB with provided corners.
 
ChVector3d Center () const
 Get AABB center.
 
ChVector3d Size () const
 Get AABB dimensions.
 
bool IsInverted () const
 Return true foir an inverted bounding box.
 

Public Attributes

ChVector3d min
 low AABB corner
 
ChVector3d 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