| Hosted by: |
OpenMBV C++ Interface |
BerliOS Project Page |
Rotation of a cross section area. More...
#include <rotation.h>
Public Member Functions | |
| Rotation () | |
| Default constructor. | |
| std::string | getClassName () |
| Retrun the class name. | |
| void | setStartAngle (ScalarParameter angle) |
| Set start angle of the rotation (Default: 0). | |
| double | getStartAngle () |
| void | setEndAngle (ScalarParameter angle) |
| Set end angle of the rotation (Default: 2*pi). | |
| double | getEndAngle () |
| void | setAngle (ScalarParameter startAngle_, ScalarParameter endAngle_) |
| Set start and end angle of the rotation (Default 0-2*pi). | |
| void | setContour (std::vector< PolygonPoint * > *contour_) |
| Set cross section area of the rotation. | |
| std::vector< PolygonPoint * > * | getContour () |
| virtual void | initializeUsingXML (MBXMLUtils::TiXmlElement *element) |
| Initializes the time invariant part of the object using a XML node. | |
| MBXMLUtils::TiXmlElement * | writeXMLFile (MBXMLUtils::TiXmlNode *parent) |
Protected Attributes | |
| ScalarParameter | startAngle |
| ScalarParameter | endAngle |
| std::vector< PolygonPoint * > * | contour |
Rotation of a cross section area.
| void OpenMBV::Rotation::setAngle | ( | ScalarParameter | startAngle_, |
| ScalarParameter | endAngle_ | ||
| ) | [inline] |
Set start and end angle of the rotation (Default 0-2*pi).
| void OpenMBV::Rotation::setContour | ( | std::vector< PolygonPoint * > * | contour_ | ) | [inline] |
Set cross section area of the rotation.
The cross section is rotation around the local y-axis
| void OpenMBV::Rotation::setEndAngle | ( | ScalarParameter | angle | ) | [inline] |
Set end angle of the rotation (Default: 2*pi).
| void OpenMBV::Rotation::setStartAngle | ( | ScalarParameter | angle | ) | [inline] |
Set start angle of the rotation (Default: 0).
1.8.0