chrono::geometry::ChRoundedCone Class Reference
Description
A rounded cone (sphere-swept cone) geometric object for collisions and visualization.
#include <ChRoundedCone.h>
Inheritance diagram for chrono::geometry::ChRoundedCone:
Collaboration diagram for chrono::geometry::ChRoundedCone:
Public Member Functions | |
ChRoundedCone (const ChVector<> &mc, const ChVector<> &mrad, double mradsphere) | |
ChRoundedCone (const ChRoundedCone &source) | |
virtual ChRoundedCone * | Clone () const override |
"Virtual" copy constructor (covariant return type). | |
virtual GeometryType | GetClassType () const override |
Get the class type as unique numerical ID (faster than using ChronoRTTI mechanism). More... | |
virtual ChVector | Baricenter () const override |
Compute bounding box along the directions defined by the given rotation matrix. More... | |
virtual int | GetManifoldDimension () const override |
This is a solid. | |
virtual void | ArchiveOUT (ChArchiveOut &marchive) override |
Method to allow serialization of transient data to archives. | |
virtual void | ArchiveIN (ChArchiveIn &marchive) override |
Method to allow de-serialization of transient data from archives. | |
Public Member Functions inherited from chrono::geometry::ChGeometry | |
ChGeometry (const ChGeometry &source) | |
virtual void | GetBoundingBox (ChVector<> &cmin, ChVector<> &cmax, const ChMatrix33<> &rot) const |
Compute bounding box along the directions defined by the given rotation matrix. More... | |
void | InflateBoundingBox (ChVector<> &cmin, ChVector<> &cmax, const ChMatrix33<> &rot) const |
Enlarge the given existing bounding box with the bounding box of this object. | |
virtual double | GetBoundingSphereRadius () const |
Returns the radius of a bounding sphere for this geometry. More... | |
virtual void | Update () |
Generic update of internal data. | |
Public Attributes | |
ChVector | center |
base center | |
ChVector | rad |
cone radius | |
double | radsphere |
radius of sweeping sphere | |
Additional Inherited Members | |
Public Types inherited from chrono::geometry::ChGeometry | |
enum | GeometryType { NONE, SPHERE, BOX, CYLINDER, TRIANGLE, CAPSULE, CONE, LINE, LINE_ARC, LINE_BEZIER, LINE_CAM, LINE_PATH, LINE_POLY, LINE_SEGMENT, ROUNDED_BOX, ROUNDED_CYLINDER, ROUNDED_CONE, TRIANGLEMESH, TRIANGLEMESH_CONNECTED, TRIANGLEMESH_SOUP } |
Enumeration of geometric objects. | |
Member Function Documentation
◆ Baricenter()
|
inlineoverridevirtual |
Compute bounding box along the directions defined by the given rotation matrix.
TODO
Reimplemented from chrono::geometry::ChGeometry.
◆ GetClassType()
|
inlineoverridevirtual |
Get the class type as unique numerical ID (faster than using ChronoRTTI mechanism).
Each inherited class must return an unique ID.
Reimplemented from chrono::geometry::ChGeometry.
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono/geometry/ChRoundedCone.h
- /builds/uwsbel/chrono/src/chrono/geometry/ChRoundedCone.cpp