Go::SfSelfIntersector Class Reference
[Intersections]

This class finds self-intersections for a parametric surface. More...

#include <SfSelfIntersector.h>

Inheritance diagram for Go::SfSelfIntersector:

Go::Intersector List of all members.

Public Member Functions

 SfSelfIntersector (boost::shared_ptr< ParamSurfaceInt > surf, double epsge, Intersector *prev=NULL)
 Constructor.
 SfSelfIntersector (boost::shared_ptr< ParamSurfaceInt > surf, boost::shared_ptr< GeoTol > epsge, Intersector *prev=NULL)
 Constructor.
virtual ~SfSelfIntersector ()
 Destructor.
virtual void compute (bool compute_at_boundary=true)
 Compute topology of self-intersection.
virtual int numParams () const
 Get the number of parameter directions for the object.
void setMaxRec (int max_rec)
 Set the maximum number of recursion levels.
int getNmbComplexDomain ()
 Count the number of complex domains in the object.
virtual bool isSelfIntersection ()
 Verifies that this computation is a self intersection problem.

Protected Member Functions

std::vector< boost::shared_ptr<
ParamSurfaceInt > > 
getNonSelfintersecting ()
virtual void print_objs ()
virtual int getBoundaryIntersections ()
virtual int performInterception ()
virtual int simpleCase ()
virtual bool isLinear ()
virtual bool complexityReduced ()
virtual void handleComplexity ()
virtual int checkCoincidence ()
virtual void microCase ()
virtual int updateIntersections ()
virtual int linearCase ()
virtual int doSubdivide ()
virtual void printDebugInfo ()
virtual void addComplexDomain (RectDomain dom)

Detailed Description

This class finds self-intersections for a parametric surface.

Definition at line 92 of file SfSelfIntersector.h.


Constructor & Destructor Documentation

Go::SfSelfIntersector::SfSelfIntersector ( boost::shared_ptr< ParamSurfaceInt surf,
double  epsge,
Intersector prev = NULL 
)

Constructor.

Parameters:
surf the parametric surface.
epsge the associated tolerance.
prev the "parent" Intersector (0 if there is no parent).

Go::SfSelfIntersector::SfSelfIntersector ( boost::shared_ptr< ParamSurfaceInt surf,
boost::shared_ptr< GeoTol epsge,
Intersector prev = NULL 
)

Constructor.

Parameters:
surf the parametric surface.
epsge the associated tolerance.
prev the "parent" Intersector (0 if there is no parent).


Member Function Documentation

virtual void Go::SfSelfIntersector::compute ( bool  compute_at_boundary = true  )  [virtual]

Compute topology of self-intersection.

Parameters:
compute_at_boundary indicate if we want to compute at the boundary

Reimplemented from Go::Intersector.

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

Get the number of parameter directions for the object.

Returns:
the number of parameter directions (i.e. 2)

Implements Go::Intersector.

Definition at line 120 of file SfSelfIntersector.h.

void Go::SfSelfIntersector::setMaxRec ( int  max_rec  )  [inline]

Set the maximum number of recursion levels.

Parameters:
max_rec the number of levels

Definition at line 125 of file SfSelfIntersector.h.

int Go::SfSelfIntersector::getNmbComplexDomain (  )  [inline]

Count the number of complex domains in the object.

Returns:
The number of complex domains in the object.

Definition at line 130 of file SfSelfIntersector.h.


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