chrono::ChRoundedBox Class Reference
Description
A rounded box (sphere-swept box) geometric object for collisions and visualization.
#include <ChRoundedBox.h>
Inheritance diagram for chrono::ChRoundedBox:

Collaboration diagram for chrono::ChRoundedBox:

Public Member Functions | |
| ChRoundedBox (const ChVector3d &lengths, double sphere_radius) | |
| ChRoundedBox (double length_x, double length_y, double length_z, double sphere_radius) | |
| ChRoundedBox (const ChRoundedBox &source) | |
| virtual ChRoundedBox * | Clone () const override |
| "Virtual" copy constructor (covariant return type). | |
| virtual Type | GetType () const override |
| Get the class type as an enum. | |
| virtual double | GetVolume () const override |
| Return the volume of this solid. | |
| virtual ChMatrix33 | GetGyration () const override |
| Return the gyration matrix for this solid. | |
| virtual ChAABB | GetBoundingBox () const override |
| Compute bounding box along the directions of the shape definition frame. | |
| virtual double | GetBoundingSphereRadius () const override |
| Return the radius of a bounding sphere for this geometry. | |
| virtual ChVector3d | Baricenter () const override |
| Computes the baricenter of the box. | |
| virtual ChVector3d | Evaluate (double parU, double parV, double parW) const override |
| Evaluate position in rounded box volume. | |
| const ChVector3d & | GetHalflengths () const |
| Get the box half-lengths. | |
| ChVector3d | GetLengths () const |
| Get the x, y, and z lengths of this box. | |
| double | GetSphereRadius () const |
| Get the sweeping sphere radius. | |
| void | SetLengths (const ChVector3d &mlen) |
| Set the x, y, and z lengths of this box. | |
| void | SetSphereRadius (double radius) |
| Set the sweeping sphere radius. | |
| virtual void | ArchiveOut (ChArchiveOut &archive_out) override |
| Method to allow serialization of transient data to archives. | |
| virtual void | ArchiveIn (ChArchiveIn &archive_in) override |
| Method to allow de-serialization of transient data from archives. | |
Public Member Functions inherited from chrono::ChVolume | |
| ChVolume (const ChVolume &other) | |
| virtual bool | IsClosedU () const |
| Return true if the volume is closed (periodic) in the 1st parametric coordinate. | |
| virtual bool | IslosedV () const |
| Return true if the volume is closed (periodic) in the 2nd parametric coordinate. | |
| virtual bool | IsClosedW () const |
| Return true if the volume is closed (periodic) in the 3rd parametric coordinate. | |
| virtual int | GetManifoldDimension () const override final |
| Return dimensionality of this object. More... | |
Public Member Functions inherited from chrono::ChGeometry | |
| ChGeometry (const ChGeometry &other) | |
| void | InflateBoundingBox (ChAABB &bbox) const |
| Enlarge the given existing bounding box with the bounding box of this object. | |
| virtual void | Update () |
| Generic update of internal data. | |
Static Public Member Functions | |
| static double | CalcVolume (const ChVector3d &lengths, double srad) |
| Return the volume of this type of solid with given dimensions. | |
| static ChMatrix33 | CalcGyration (const ChVector3d &lengths, double srad) |
| Return the gyration matrix of this type of solid with given dimensions. | |
| static ChAABB | CalcBoundingBox (const ChVector3d &lengths, double srad) |
| Return the bounding box of this type of solid with given dimensions. | |
| static double | CalcBoundingSphereRadius (const ChVector3d &lengths, double srad) |
| Return the radius of a bounding sphere. | |
Public Attributes | |
| ChVector3d | hlen |
| box halflengths | |
| double | srad |
| radius of sweeping sphere | |
Additional Inherited Members | |
Public Types inherited from chrono::ChGeometry | |
| enum | Type { NONE, SPHERE, ELLIPSOID, BOX, CYLINDER, TRIANGLE, CAPSULE, CONE, LINE, LINE_ARC, LINE_BEZIER, LINE_CAM, LINE_PATH, LINE_POLY, LINE_SEGMENT, ROUNDED_BOX, ROUNDED_CYLINDER, TRIANGLEMESH, TRIANGLEMESH_CONNECTED, TRIANGLEMESH_SOUP } |
| Enumeration of geometric object types. | |
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono/geometry/ChRoundedBox.h
- /builds/uwsbel/chrono/src/chrono/geometry/ChRoundedBox.cpp
Public Member Functions inherited from