#include <SfPtIntersector.h>
Inheritance diagram for Go::SfPtIntersector:
Public Member Functions | |
SfPtIntersector (boost::shared_ptr< ParamGeomInt > obj1, boost::shared_ptr< ParamGeomInt > obj2, boost::shared_ptr< GeoTol > epsge, Intersector *prev=0, int eliminated_parameter=-1, double eliminated_value=0) | |
Constructor. | |
virtual | ~SfPtIntersector () |
Destructor. | |
virtual int | numParams () const |
Return the number of parameter directions for the object. | |
Protected Member Functions | |
virtual int | repairIntersections () |
Definition at line 49 of file SfPtIntersector.h.
Go::SfPtIntersector::SfPtIntersector | ( | boost::shared_ptr< ParamGeomInt > | obj1, | |
boost::shared_ptr< ParamGeomInt > | obj2, | |||
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 surface, the other a point (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.
obj1 | either of type ParamSurfaceInt or ParamPointInt. | |
obj2 | either of type ParamPointInt or ParamSurfaceInt (not the same type as obj1). | |
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::SfPtIntersector::numParams | ( | ) | const [inline, virtual] |
Return the number of parameter directions for the object.
Implements Go::Intersector.
Definition at line 83 of file SfPtIntersector.h.