Go::EvalCurveSet Class Reference
['geometry' - a spline library]

This abstract class provides an interface to a set of curves that can be evaluated. More...

#include <EvalCurveSet.h>

Inheritance diagram for Go::EvalCurveSet:

Go::ProjectCurveAndCrossTan Go::SmoothTransition List of all members.

Public Member Functions

virtual ~EvalCurveSet ()
 virtual destructor ensures safe inheritance
virtual std::vector< Pointeval (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.

Detailed Description

This abstract class provides an interface to a set of curves that can be evaluated.

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.


Member Function Documentation

virtual std::vector<Point> Go::EvalCurveSet::eval ( double  t  )  [pure virtual]

Evaluate the curves.

Parameters:
t parameter in which to evaluate.
Returns:
the evaluated points for the curve set.

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.

Parameters:
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.

Returns:
start parameter of the spline space.

Implemented in Go::ProjectCurveAndCrossTan, and Go::SmoothTransition.

virtual double Go::EvalCurveSet::end (  )  [pure virtual]

End parameter of domain.

Returns:
end parameter of the spline space.

Implemented in Go::ProjectCurveAndCrossTan, and Go::SmoothTransition.

virtual int Go::EvalCurveSet::dim (  )  [pure virtual]

The geometric dimension of the spline curves.

Returns:
geometric dimension of the space.

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.

Parameters:
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.
Returns:
whether the approximation is within tolerances in input parameter.

Implemented in Go::ProjectCurveAndCrossTan, and Go::SmoothTransition.

virtual int Go::EvalCurveSet::nmbCvs (  )  [pure virtual]

The number of curves in the curve set.

Returns:
the number of curves in the curve set.

Implemented in Go::ProjectCurveAndCrossTan, and Go::SmoothTransition.


The documentation for this class was generated from the following file:
Generated on Mon Jun 11 14:48:18 2007 for GoTools Core Library by  doxygen 1.5.1