MBSim

Project Page
Public Member Functions
MBSim::Plane Class Reference

plane without borders More...

#include <plane.h>

Inheritance diagram for MBSim::Plane:
MBSim::RigidContour MBSim::Contour MBSim::Element MBSim::Rectangle

List of all members.

Public Member Functions

 Plane (const std::string &name="")
 constructor
std::string getType () const
virtual fmatvec::Vec2 computeLagrangeParameter (const fmatvec::Vec3 &WrPoint)
 projects the point on the contour to compute the Lagrange parameter
virtual void initializeUsingXML (MBXMLUtils::TiXmlElement *element)
virtual MBXMLUtils::TiXmlElement * writeXMLFile (MBXMLUtils::TiXmlNode *element)

Detailed Description

plane without borders

Author:
Martin Foerg
Date:
2009-03-23 some comments (Thorsten Schindler)
2009-10-30 visualization added (Markus Schneider)

normal equals first column in orientation matrix (x-axis)


Constructor & Destructor Documentation

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

constructor

Parameters:
nameof contour

Member Function Documentation

virtual fmatvec::Vec2 MBSim::Plane::computeLagrangeParameter ( const fmatvec::Vec3 &  WrPoint) [virtual]

projects the point on the contour to compute the Lagrange parameter

Parameters:
WrPointpoint in world coordinates
Returns:
Vec of lagrange parameters
Remarks:
: a vector length of 2 is necessary (Vec(2,INIT,0.))

Reimplemented from MBSim::Contour.

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

Reimplemented from MBSim::RigidContour.

Reimplemented in MBSim::Rectangle.


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