Go::SfCvIntersector Class Reference
[Intersections]

This class performs intersection between a parametric surface and a parametric curve. More...

#include <SfCvIntersector.h>

Inheritance diagram for Go::SfCvIntersector:

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

Public Member Functions

 SfCvIntersector (boost::shared_ptr< ParamGeomInt > obj1, boost::shared_ptr< ParamGeomInt > obj2, double epsge, Intersector *prev=0, int eliminated_parameter=-1, double eliminated_value=0)
 Constructor.
 SfCvIntersector (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 ~SfCvIntersector ()
 Destructor.
virtual int numParams () const
 Return the number of parameter directions for the object.

Protected Member Functions

virtual int repairIntersections ()

Detailed Description

This class performs intersection between a parametric surface and a parametric curve.

Definition at line 49 of file SfCvIntersector.h.


Constructor & Destructor Documentation

Go::SfCvIntersector::SfCvIntersector ( boost::shared_ptr< ParamGeomInt obj1,
boost::shared_ptr< ParamGeomInt obj2,
double  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 curve (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:
obj1 either of type ParamSurfaceInt or ParamCurveInt.
obj2 either of type ParamCurveInt 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.

Go::SfCvIntersector::SfCvIntersector ( 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 curve (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:
obj1 either of type ParamSurfaceInt or ParamCurveInt.
obj2 either of type ParamCurveInt 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.


Member Function Documentation

virtual int Go::SfCvIntersector::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 106 of file SfCvIntersector.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