MBSim

Project Page
Public Member Functions | Private Attributes
MBSim::LineSegment Class Reference

line segment with two bounds More...

#include <line_segment.h>

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

List of all members.

Public Member Functions

 LineSegment (const std::string &name="")
 constructor
std::string getType () const
virtual double computeCurvature (ContourPointData &cp)
virtual void initializeUsingXML (MBXMLUtils::TiXmlElement *element)
virtual MBXMLUtils::TiXmlElement * writeXMLFile (MBXMLUtils::TiXmlNode *element)
void setLength (double length_)
double getLength () const
void setThickness (double thickness_)
double getThickness () const

Private Attributes

double length
 length of line segment
double thickness
 thickness of line segment

Detailed Description

line segment with two bounds

Author:
Martin Foerg
Date:
2010-05-20 initial commit (Martin Foerg)
2011-01-27 some comments (Thomas Cebulla)

Constructor & Destructor Documentation

MBSim::LineSegment::LineSegment ( const std::string &  name = "")

constructor

Parameters:
nameof line segment

Member Function Documentation

virtual double MBSim::LineSegment::computeCurvature ( ContourPointData &  cp) [inline, virtual]
Returns:
curvature of contour in contour point
Parameters:
contourposition

Reimplemented from MBSim::Contour.

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

Reimplemented from MBSim::RigidContour.


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