#include <Par2FuncIntersector.h>
Inheritance diagram for Go::Par2FuncIntersector:
Public Member Functions | |
Par2FuncIntersector (boost::shared_ptr< ParamFunctionInt > func, boost::shared_ptr< ParamFunctionInt > C, boost::shared_ptr< GeoTol > epsge, Intersector *prev=0, int eliminated_parameter=-1, double eliminated_value=0) | |
Constructor. | |
virtual | ~Par2FuncIntersector () |
Destructor. | |
virtual int | numParams () const |
Return the number of parameter directions for the object. | |
Protected Member Functions | |
virtual int | repairIntersections () |
Definition at line 50 of file Par2FuncIntersector.h.
Go::Par2FuncIntersector::Par2FuncIntersector | ( | boost::shared_ptr< ParamFunctionInt > | func, | |
boost::shared_ptr< ParamFunctionInt > | C, | |||
boost::shared_ptr< GeoTol > | epsge, | |||
Intersector * | prev = 0 , |
|||
int | eliminated_parameter = -1 , |
|||
double | eliminated_value = 0 | |||
) |
Constructor.
One of the objects should refer to a 1D-surface, the other a constant (this is not checked compile-time, so we rely on the user to obey this rule). The last two variables are relevant only if the parent has one more parameter than the Intersector to be constructed.
func | of type Param2FunctionInt. | |
C | of type Param0FunctionInt. | |
epsge | the associated tolerance. | |
prev | the "parent" Intersector (0 if there is no parent). | |
eliminated_parameter | the index of the parameter that was removed from the parent prev. | |
eliminated_value | the value of the parameter that was removed from the parent prev. |
virtual int Go::Par2FuncIntersector::numParams | ( | ) | const [inline, virtual] |
Return the number of parameter directions for the object.
Implements Go::Intersector.
Definition at line 88 of file Par2FuncIntersector.h.