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