chrono::geometry::ChCylinder Class Reference
Description
A cylindrical geometric object for collisions and visualization.
#include <ChCylinder.h>
Inheritance diagram for chrono::geometry::ChCylinder:

Collaboration diagram for chrono::geometry::ChCylinder:

Public Member Functions | |
ChCylinder (double radius, double height) | |
ChCylinder (const ChCylinder &source) | |
virtual ChCylinder * | Clone () const override |
"Virtual" copy constructor (covariant return type). | |
virtual Type | GetClassType () const override |
Get the class type as an enum. | |
virtual AABB | GetBoundingBox (const ChMatrix33<> &rot) const override |
Compute bounding box along the directions defined by the given rotation matrix. | |
virtual ChVector | Baricenter () const override |
Compute the baricenter of the capsule. | |
double | GetRadius () const |
Get the cylinder radius. | |
double | GetHeight () const |
Get the cylinder height. | |
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. | |
![]() | |
ChGeometry (const ChGeometry &source) | |
void | InflateBoundingBox (AABB &bbox, 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 | |
double | r |
Utility function for calculating the length and frame of a segment between two given points. More... | |
double | h |
cylinder height | |
Additional Inherited Members | |
![]() | |
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. | |
Member Data Documentation
◆ r
double chrono::geometry::ChCylinder::r |
Utility function for calculating the length and frame of a segment between two given points.
The resulting frame is centered at the midpoint and has the Z axis along the segment. cylinder radius
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono/geometry/ChCylinder.h
- /builds/uwsbel/chrono/src/chrono/geometry/ChCylinder.cpp