#include <EvalCurveSet.h>
Inheritance diagram for Go::EvalCurveSet:
Public Member Functions | |
virtual | ~EvalCurveSet () |
virtual destructor ensures safe inheritance | |
virtual std::vector< Point > | eval (double t)=0 |
Evaluate the curves. | |
virtual void | eval (double t, int n, std::vector< std::vector< Point > > &der)=0 |
Evaluate the curve derivatives. | |
virtual double | start ()=0 |
Start parameter of domain. | |
virtual double | end ()=0 |
End parameter of domain. | |
virtual int | dim ()=0 |
The geometric dimension of the spline curves. | |
virtual bool | approximationOK (double par, const std::vector< Point > &approxpos, double tol1, double tol2)=0 |
Whether the approximation is within tolerances in input parameter. | |
virtual int | nmbCvs ()=0 |
The number of curves in the curve set. |
Representing the actual geometry, typically used when iteratively approximating the set of curves on the same basis.
Definition at line 51 of file EvalCurveSet.h.
virtual std::vector<Point> Go::EvalCurveSet::eval | ( | double | t | ) | [pure virtual] |
Evaluate the curves.
t | parameter in which to evaluate. |
Implemented in Go::ProjectCurveAndCrossTan, and Go::SmoothTransition.
virtual void Go::EvalCurveSet::eval | ( | double | t, | |
int | n, | |||
std::vector< std::vector< Point > > & | der | |||
) | [pure virtual] |
Evaluate the curve derivatives.
t | parameter in which to evaluate. | |
n | number of derivatives to compute. | |
der | the evaluated points up to the n'th derivative for the curve set. |
Implemented in Go::ProjectCurveAndCrossTan, and Go::SmoothTransition.
virtual double Go::EvalCurveSet::start | ( | ) | [pure virtual] |
Start parameter of domain.
Implemented in Go::ProjectCurveAndCrossTan, and Go::SmoothTransition.
virtual double Go::EvalCurveSet::end | ( | ) | [pure virtual] |
End parameter of domain.
Implemented in Go::ProjectCurveAndCrossTan, and Go::SmoothTransition.
virtual int Go::EvalCurveSet::dim | ( | ) | [pure virtual] |
The geometric dimension of the spline curves.
Implemented in Go::ProjectCurveAndCrossTan, and Go::SmoothTransition.
virtual bool Go::EvalCurveSet::approximationOK | ( | double | par, | |
const std::vector< Point > & | approxpos, | |||
double | tol1, | |||
double | tol2 | |||
) | [pure virtual] |
Whether the approximation is within tolerances in input parameter.
par | parameter in which to evaluate. | |
approxpos | whether the input points are within tolerance from the evaluated points (as given by eval()). | |
tol1 | tolerance used to decide approximation accuracy. | |
tol2 | tolerance used to decide approximation accuracy. |
Implemented in Go::ProjectCurveAndCrossTan, and Go::SmoothTransition.
virtual int Go::EvalCurveSet::nmbCvs | ( | ) | [pure virtual] |
The number of curves in the curve set.
Implemented in Go::ProjectCurveAndCrossTan, and Go::SmoothTransition.