#include <Intersector2Obj.h>
Inheritance diagram for Go::Intersector2Obj:
Public Member Functions | |
Intersector2Obj () | |
Default constructor. | |
Intersector2Obj (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. | |
Intersector2Obj (boost::shared_ptr< ParamGeomInt > obj1, boost::shared_ptr< ParamGeomInt > obj2, double epsge, Intersector *prev=0, int eliminated_parameter=-1, double eliminated_value=0) | |
Constructor. | |
virtual | ~Intersector2Obj () |
Destructor. | |
virtual int | nmbBdObj (int idx) const |
Count the number of boundary objects belonging to the specified ParamGeomInt. | |
virtual BoundaryGeomInt * | getBoundaryObject (int idx, int bd_idx) const |
Get the specified boundary object belonging to the specified ParamGeomInt. | |
void | setSelfintCase (int type) |
Mark that this intersection is performed in self-intersection context. | |
virtual int | isSelfintCase () |
Check if this intersection is performed in self-intersection context. | |
Protected Member Functions | |
virtual bool | foundIntersectionNearBoundary () |
virtual int | performInterceptionByImplicitization () |
virtual int | interceptionBySeparationSurface () |
virtual int | simpleCaseByImplicitization () |
virtual bool | complexityReduced () |
virtual void | handleComplexity () |
virtual void | postIterate (int nmb_orig, int dir=-1, bool keep_endpt=true) |
virtual void | doPostIterate () |
virtual void | removeDegenerateConnections () |
virtual void | writeOut () |
Protected Attributes | |
boost::shared_ptr< ParamGeomInt > | obj_int_ [2] |
int | selfint_case_ |
Definition at line 50 of file Intersector2Obj.h.
Go::Intersector2Obj::Intersector2Obj | ( | 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.
The last two variables are relevant only if the parent has one more parameter than the Intersector to be constructed.
obj1 | object of type ParamSurfaceInt, ParamCurveInt or ParamPointInt. | |
obj2 | object of type ParamSurfaceInt, ParamCurveInt or ParamPointInt. | |
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. |
Go::Intersector2Obj::Intersector2Obj | ( | boost::shared_ptr< ParamGeomInt > | obj1, | |
boost::shared_ptr< ParamGeomInt > | obj2, | |||
double | epsge, | |||
Intersector * | prev = 0 , |
|||
int | eliminated_parameter = -1 , |
|||
double | eliminated_value = 0 | |||
) |
Constructor.
The last two variables are relevant only if the parent has one more parameter than the Intersector to be constructed.
obj1 | object of type ParamSurfaceInt, ParamCurveInt or ParamPointInt. | |
obj2 | object of type ParamSurfaceInt, ParamCurveInt or ParamPointInt. | |
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::Intersector2Obj::nmbBdObj | ( | int | idx | ) | const [inline, virtual] |
Count the number of boundary objects belonging to the specified ParamGeomInt.
idx | refers to obj1 or obj2 (i.e. 0 or 1). |
Reimplemented from Go::Intersector.
Definition at line 108 of file Intersector2Obj.h.
References obj_int_.
virtual BoundaryGeomInt* Go::Intersector2Obj::getBoundaryObject | ( | int | idx, | |
int | bd_idx | |||
) | const [inline, virtual] |
Get the specified boundary object belonging to the specified ParamGeomInt.
idx | refers to obj1 or obj2 (i.e. 0 or 1). | |
bd_idx | index of the boundary object in the ParamGeomInt. |
Reimplemented from Go::Intersector.
Definition at line 117 of file Intersector2Obj.h.
References obj_int_.
virtual int Go::Intersector2Obj::isSelfintCase | ( | ) | [inline, virtual] |
Check if this intersection is performed in self-intersection context.
true
if this is a self-intersection, false
otherwise Reimplemented from Go::Intersector.
Definition at line 130 of file Intersector2Obj.h.
References selfint_case_.