| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/compositecurve.h>

Public Member Functions | |
| CompositeCurve (Curve *curve=NULL) | |
| void | appendCurve (Curve *curve) |
| Inserts the curve at the end of the set. | |
| Curve * | getCurve (unsigned int index) const |
| Returns the curve specified by index. | |
| const Iterator< SO< Curve > > * | getCurveIterator () const |
| Returns an containing all curves of the composition. | |
| void | insertCurveAt (unsigned int index, Curve *curve) |
| Inserts the curve at the specified position. | |
| void | removeCurve (unsigned int index) |
| Removes the curve on position index. | |
| virtual Vector | curvePoint (double t) const |
| Returns the curve point specified by the parameter t. | |
| virtual double | t2length (double t) const |
| virtual double | length2t (double length) const |
| virtual Vector | derivative (int degree, double t) const |
| Returns the degree's derivative of the curve point specified by the parameter t. | |
| virtual double | getLength () const |
| Returns the over-all-length of the curves. | |
| virtual int | getSize () const |
| Returns the number of curves. | |
| virtual Bounds | boundingBox () const |
| Returns the bounding box. | |
| VRS_TYPEINFO (CompositeCurve, Curve) | |
| VRS_SERIALIZABLE (CompositeCurve) | |
Static Public Member Functions | |
| static bool | areCurvesCompatible (Curve *curve1, Curve *curve2) |
| Returns true if the last point of curve1 is the first point of curve2. | |
Protected Member Functions | |
| virtual void | acceptChildren (std::vector< Visitable * > &appendChildrenHere) const |
| VRS::CompositeCurve::CompositeCurve | ( | Curve * | curve = NULL |
) |
| void VRS::CompositeCurve::appendCurve | ( | Curve * | curve | ) |
Inserts the curve at the end of the set.
| Curve* VRS::CompositeCurve::getCurve | ( | unsigned int | index | ) | const |
Returns the curve specified by index.
Returns an containing all curves of the composition.
| void VRS::CompositeCurve::insertCurveAt | ( | unsigned int | index, | |
| Curve * | curve | |||
| ) |
Inserts the curve at the specified position.
| void VRS::CompositeCurve::removeCurve | ( | unsigned int | index | ) |
Removes the curve on position index.
Returns true if the last point of curve1 is the first point of curve2.
| virtual Vector VRS::CompositeCurve::curvePoint | ( | double | t | ) | const [virtual] |
| virtual double VRS::CompositeCurve::t2length | ( | double | t | ) | const [virtual] |
Returns the length of the curve path from the beginning of the curve to the point specified by the paramter t.
Reimplemented from VRS::Curve.
| virtual double VRS::CompositeCurve::length2t | ( | double | length | ) | const [virtual] |
Returns the parameter value neccessary to calculate a point on the curve so that the path from the beginning of the curve to the point for the delivered t is length long.
Reimplemented from VRS::Curve.
| virtual Vector VRS::CompositeCurve::derivative | ( | int | degree, | |
| double | t | |||
| ) | const [virtual] |
Returns the degree's derivative of the curve point specified by the parameter t.
Implements VRS::Curve.
| virtual double VRS::CompositeCurve::getLength | ( | ) | const [virtual] |
| virtual int VRS::CompositeCurve::getSize | ( | ) | const [virtual] |
Returns the number of curves.
| virtual Bounds VRS::CompositeCurve::boundingBox | ( | ) | const [virtual] |
| VRS::CompositeCurve::VRS_TYPEINFO | ( | CompositeCurve | , | |
| Curve | ||||
| ) |
| VRS::CompositeCurve::VRS_SERIALIZABLE | ( | CompositeCurve | ) |
| virtual void VRS::CompositeCurve::acceptChildren | ( | std::vector< Visitable * > & | appendChildrenHere | ) | const [protected, virtual] |
Reimplemented from VRS::Visitable.