Go::PtPtIntersector Class Reference
[Intersections]

This class performs intersection between two points. More...

#include <PtPtIntersector.h>

Inheritance diagram for Go::PtPtIntersector:

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

Public Member Functions

 PtPtIntersector (boost::shared_ptr< ParamGeomInt > point1, boost::shared_ptr< ParamGeomInt > point2, boost::shared_ptr< GeoTol > epsge, Intersector *prev=0, int eliminated_parameter=-1, double eliminated_value=0)
 Constructor.
 PtPtIntersector (boost::shared_ptr< ParamGeomInt > point1, boost::shared_ptr< ParamGeomInt > point2, double epsge, Intersector *prev=0, int eliminated_parameter=-1, double eliminated_value=0)
 Constructor.
virtual ~PtPtIntersector ()
 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 two points.

Definition at line 48 of file PtPtIntersector.h.


Constructor & Destructor Documentation

Go::PtPtIntersector::PtPtIntersector ( boost::shared_ptr< ParamGeomInt point1,
boost::shared_ptr< ParamGeomInt point2,
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.

Parameters:
point1 of type ParamPointInt.
point2 of type ParamPointInt.
epsge the associated tolerance.
prev the "parent" Intersector (0 if there is no parent).
eliminated_parameter the index (0) 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::PtPtIntersector::PtPtIntersector ( boost::shared_ptr< ParamGeomInt point1,
boost::shared_ptr< ParamGeomInt point2,
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.

Parameters:
point1 of type ParamPointInt.
point2 of type ParamPointInt.
epsge the associated tolerance.
prev the "parent" Intersector (0 if there is no parent).
eliminated_parameter the index (0) 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::PtPtIntersector::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 98 of file PtPtIntersector.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