Go::Par0FuncIntersector Class Reference
[Intersections]

This class is performing intersections between two constants. More...

#include <Par0FuncIntersector.h>

Inheritance diagram for Go::Par0FuncIntersector:

Go::IntersectorFuncConst Go::Intersector List of all members.

Public Member Functions

 Par0FuncIntersector (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 ~Par0FuncIntersector ()
 Destructor.
virtual int numParams () const
 Return the number of parameter directions for the object.

Protected Member Functions

virtual int repairIntersections ()

Detailed Description

This class is performing intersections between two constants.

Definition at line 48 of file Par0FuncIntersector.h.


Constructor & Destructor Documentation

Go::Par0FuncIntersector::Par0FuncIntersector ( 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.

Both objects should refer to constants (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.

Parameters:
func of type Param0FunctionInt.
C of type Param0FunctionInt.
epsge the associated tolerance.
prev the "parent" Intersector (0 if there is no parent).
eliminated_parameter the index (0) of the parameter that was removed from the parent prev.
eliminated_value the value of the parameter that was removed from the parent prev.


Member Function Documentation

virtual int Go::Par0FuncIntersector::numParams (  )  const [inline, virtual]

Return the number of parameter directions for the object.

Returns:
the number of parameter directions

Implements Go::Intersector.

Definition at line 87 of file Par0FuncIntersector.h.


The documentation for this class was generated from the following file:
Generated on Fri Nov 23 12:24:34 2007 for GoTools Intersections Library by  doxygen 1.5.1