chrono::geometry::ChRoundedCylinder Class Reference

Description

A rounded cylinder (sphere-swept cylinder) geometric object for collision and visualization.

#include <ChRoundedCylinder.h>

Inheritance diagram for chrono::geometry::ChRoundedCylinder:
Collaboration diagram for chrono::geometry::ChRoundedCylinder:

Public Member Functions

 ChRoundedCylinder (double radius, double height, double sphere_radius)
 
 ChRoundedCylinder (const ChRoundedCylinder &source)
 
virtual ChRoundedCylinderClone () const override
 "Virtual" copy constructor (covariant return type).
 
virtual Type GetClassType () const override
 Get the class type as an enum.
 
virtual ChVector Baricenter () const override
 Compute bounding box along the directions defined by the given rotation matrix. More...
 
double GetRadius () const
 Get the cylinder radius.
 
double GetHeight () const
 Get the cylinder height.
 
double GetSphereRadius () const
 Get the sweeping sphere radius.
 
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 AABB GetBoundingBox (const ChMatrix33<> &rot) const
 Compute bounding box along the directions defined by the given rotation matrix. More...
 
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
 cylinder radius
 
double h
 cylinder height
 
double sr
 radius of sweeping sphere
 

Additional Inherited Members

- Public Types inherited from chrono::geometry::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.
 

Member Function Documentation

◆ Baricenter()

virtual ChVector chrono::geometry::ChRoundedCylinder::Baricenter ( ) const
inlineoverridevirtual

Compute bounding box along the directions defined by the given rotation matrix.

TODO

Reimplemented from chrono::geometry::ChGeometry.


The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/geometry/ChRoundedCylinder.h
  • /builds/uwsbel/chrono/src/chrono/geometry/ChRoundedCylinder.cpp