Description

A conical geometric object for collisions and visualization.

#include <ChCone.h>

Inheritance diagram for chrono::geometry::ChCone:
Collaboration diagram for chrono::geometry::ChCone:

Public Member Functions

 ChCone (double radius, double height)
 
 ChCone (const ChCone &source)
 
virtual ChConeClone () const override
 "Virtual" copy constructor (covariant return type).
 
virtual Type GetClassType () 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 ChVector Baricenter () const override
 Compute the baricenter of the cone.
 
virtual ChVector Evaluate (double parU, double parV, double parW) const override
 Evaluate position in box volume.
 
double GetRadius () const
 Get the cone radius.
 
double GetHeight () const
 Get the cone height.
 
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::ChVolume
 ChVolume (const ChVolume &source)
 
virtual bool Get_closed_U () const
 Tell if the volume is closed (periodic) in parametric coordinate.
 
virtual bool Get_closed_V () const
 Tell if the volume is closed (periodic) in parametric coordinate.
 
virtual bool Get_closed_W () const
 Tell if the volume is closed (periodic) in parametric coordinate.
 
virtual int GetManifoldDimension () const override final
 This is a volume.
 
- Public Member Functions inherited from chrono::geometry::ChGeometry
 ChGeometry (const ChGeometry &source)
 
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 GetVolume (double radius, double height)
 Return the volume of this type of solid with given dimensions.
 
static ChMatrix33 GetGyration (double radius, double height)
 Return the gyration matrix of this type of solid with given dimensions.
 
static ChAABB GetBoundingBox (double radius, double height)
 Return the bounding box of this type of solid with given dimensions.
 
static double GetBoundingSphereRadius (double radius, double height)
 Return the radius of a bounding sphere.
 

Public Attributes

double r
 
double h
 

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.
 

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