#include <ProjectIntersectionCurve.h>
Inheritance diagram for Go::ProjectIntersectionCurve:
Public Member Functions | |
ProjectIntersectionCurve (boost::shared_ptr< SplineCurve > &inters_crv, boost::shared_ptr< SplineCurve > &p_crv, boost::shared_ptr< SplineCurve > &other_p_crv, boost::shared_ptr< ParamSurface > &surf, boost::shared_ptr< ParamSurface > &other_surf, double offset_dist, double other_offset_dist, double epsgeo) | |
Constructor. | |
virtual | ~ProjectIntersectionCurve () |
Destructor. | |
virtual Point | eval (double t) const |
The evaluator part of the class, returns the projected offset point in the first surface. | |
virtual void | eval (double t, int n, Point der[]) const |
The evaluator part of the class, returns the projected offset point in the first surface. | |
virtual double | start () const |
Start parameter of curve. | |
virtual double | end () const |
End parameter of curve. | |
virtual int | dim () const |
Dimension of inters_crv_. | |
virtual bool | approximationOK (double par, Point approxpos, double tol1, double tol2) const |
Whether the evaluated point in par is close enough to approxpos. |
This evaluator based class computes the projected point in the first surface of the offset point defined by input.
Definition at line 53 of file ProjectIntersectionCurve.h.
Go::ProjectIntersectionCurve::ProjectIntersectionCurve | ( | boost::shared_ptr< SplineCurve > & | inters_crv, | |
boost::shared_ptr< SplineCurve > & | p_crv, | |||
boost::shared_ptr< SplineCurve > & | other_p_crv, | |||
boost::shared_ptr< ParamSurface > & | surf, | |||
boost::shared_ptr< ParamSurface > & | other_surf, | |||
double | offset_dist, | |||
double | other_offset_dist, | |||
double | epsgeo | |||
) |
Constructor.
inters_crv | the space intersection curve between surf & other_surf. | |
p_crv | the corresponding parameter curve in surf. | |
other_p_crv | the corresponding parameter curve in other_surf. | |
surf | the first input surface. | |
other_surf | the second input surface. | |
offset_dist | the offset distance in surf. | |
other_offset_dist | the offset distance in other_surf. | |
epsgeo | the geometrical tolerance (for closes point evaluations). |
virtual Point Go::ProjectIntersectionCurve::eval | ( | double | t | ) | const [virtual] |
The evaluator part of the class, returns the projected offset point in the first surface.
t | the parameter in which to evaluate. |
Implements Go::EvalCurve.
virtual void Go::ProjectIntersectionCurve::eval | ( | double | t, | |
int | n, | |||
Point | der[] | |||
) | const [virtual] |
The evaluator part of the class, returns the projected offset point in the first surface.
For n == 1 the tangent in the projected offset curve is also computed.
t | the parameter in which to evaluate. | |
n | the number of derivatives to compute (at most 1). | |
der | the evaluated point. Size of array is 'n + 1'. |
Implements Go::EvalCurve.
virtual double Go::ProjectIntersectionCurve::start | ( | ) | const [virtual] |
virtual double Go::ProjectIntersectionCurve::end | ( | ) | const [virtual] |
virtual int Go::ProjectIntersectionCurve::dim | ( | ) | const [virtual] |
virtual bool Go::ProjectIntersectionCurve::approximationOK | ( | double | par, | |
Point | approxpos, | |||
double | tol1, | |||
double | tol2 | |||
) | const [virtual] |
Whether the evaluated point in par is close enough to approxpos.
par | the parameter in which to evaluate. | |
approxpos | postition to check for accuracy. | |
tol1 | currently not used. | |
tol2 | currently not used. |
Implements Go::EvalCurve.