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, double l, double t, Frame *R=0)
 constructor
 LineSegment (const std::string &name, double l, Frame *R=0)
 LineSegment (const std::string &name="", Frame *R=0)
std::string getType () const
virtual void init (InitStage stage)
 TODO.
virtual double computeCurvature (ContourPointData &cp)
virtual void initializeUsingXML (xercesc::DOMElement *element)
virtual xercesc::DOMElement * writeXMLFile (xercesc::DOMNode *element)
void updateKinematicsForFrame (ContourPointData &cp, Frame::Feature ff)
 cartesian kinematic for contour (normal, tangent, binormal) is set by implementation class
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,
double  l,
double  t,
Frame *  R = 0 
)

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.

cartesian kinematic for contour (normal, tangent, binormal) is set by implementation class

Parameters:
contourparameter
selectionof specific calculations for frames

Reimplemented from MBSim::RigidContour.


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