Description

Axis-aligned bounding box.

#include <ChGeometry.h>

Collaboration diagram for chrono::geometry::ChAABB:

Public Member Functions

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

Public Attributes

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