MBSim

Project Page
Public Member Functions | Protected Attributes
MBSim::Sphere Class Reference

sphere More...

#include <sphere.h>

Inheritance diagram for MBSim::Sphere:
MBSim::RigidContour MBSim::Contour MBSim::Element

List of all members.

Public Member Functions

 Sphere (const std::string &name="")
 constructor
 Sphere (const std::string &name, double r_)
 constructor
std::string getType () const
void setRadius (double r_)
double getRadius () const
virtual void initializeUsingXML (MBXMLUtils::TiXmlElement *element)
virtual MBXMLUtils::TiXmlElement * writeXMLFile (MBXMLUtils::TiXmlNode *element)

Protected Attributes

double r
 radius

Detailed Description

sphere

Author:
Martin Foerg
Date:
2009-04-20 some comments (Thorsten Schindler)
2009-05-28 new interface (Bastian Esefeld)

Constructor & Destructor Documentation

MBSim::Sphere::Sphere ( const std::string &  name = "") [inline]

constructor

Parameters:
nameof contour
MBSim::Sphere::Sphere ( const std::string &  name,
double  r_ 
) [inline]

constructor

Parameters:
nameof sphere
radiusof sphere

Member Function Documentation

std::string MBSim::Sphere::getType ( ) const [inline, virtual]
Returns:
std::string representation

Reimplemented from MBSim::RigidContour.


The documentation for this class was generated from the following file: