chrono::geometry::ChGeometry::AABB Struct Reference


Axis-aligned bounding box.

#include <ChGeometry.h>

Collaboration diagram for chrono::geometry::ChGeometry::AABB:

Public Member Functions

 AABB ()
 Default is an inverted bounding box.
 AABB (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.

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