MBSim

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

Cuboid with 8 vertices, 12 edges and 6 faces. More...

#include <cuboid.h>

Inheritance diagram for MBSim::Cuboid:
MBSim::CompoundContour MBSim::RigidContour MBSim::Contour MBSim::Element

List of all members.

Public Member Functions

 Cuboid (const std::string &name="", Frame *R=0)
 constructor
 Cuboid (const std::string &name, double lx, double ly, double lz, Frame *R=0)
std::string getType () const
void setXLength (double lx_)
void setYLength (double ly_)
void setZLength (double lz_)
virtual void plot (double t, double dt=1)
 plots time dependent data

Private Member Functions

void init (InitStage stage)
 TODO.

Private Attributes

double lx
 x-, y- and z-length of cuboid
double ly
double lz

Detailed Description

Cuboid with 8 vertices, 12 edges and 6 faces.


Constructor & Destructor Documentation

MBSim::Cuboid::Cuboid ( const std::string &  name = "",
Frame *  R = 0 
)

constructor

Parameters:
nameof contour

Member Function Documentation

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

Reimplemented from MBSim::CompoundContour.

virtual void MBSim::Cuboid::plot ( double  t,
double  dt = 1 
) [virtual]

plots time dependent data

Parameters:
simulationtime
simulationtime step size for derivative calculation

Reimplemented from MBSim::CompoundContour.


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