Go::Par1FuncIntersector Class Reference
[Intersections]

This class is performing intersections between a 1-dimensional parametric curve and a constant. More...

#include <Par1FuncIntersector.h>

Inheritance diagram for Go::Par1FuncIntersector:

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

Public Member Functions

 Par1FuncIntersector (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 ~Par1FuncIntersector ()
 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 a 1-dimensional parametric curve and a constant.

Definition at line 49 of file Par1FuncIntersector.h.


Constructor & Destructor Documentation

Go::Par1FuncIntersector::Par1FuncIntersector ( 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-curve, 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.

Parameters:
func of type Param1FunctionInt.
C of type Param0FunctionInt.
epsge the associated tolerance.
prev the "parent" Intersector (0 if there is no parent).
eliminated_parameter the index (0 or 1) 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::Par1FuncIntersector::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 89 of file Par1FuncIntersector.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