| 
    Open CASCADE Technology 7.8.2.dev
    
   | 
 
#include <Geom2dHatch_Intersector.hxx>

Public Member Functions | |
| Geom2dHatch_Intersector (const Standard_Real Confusion, const Standard_Real Tangency) | |
| Creates an intersector.   | |
| Standard_Real | ConfusionTolerance () const | 
| Returns the confusion tolerance of the intersector.   | |
| void | SetConfusionTolerance (const Standard_Real Confusion) | 
| Sets the confusion tolerance of the intersector.   | |
| Standard_Real | TangencyTolerance () const | 
| Returns the tangency tolerance of the intersector.   | |
| void | SetTangencyTolerance (const Standard_Real Tangency) | 
| Sets the tangency tolerance of the intersector.   | |
| void | Intersect (const Geom2dAdaptor_Curve &C1, const Geom2dAdaptor_Curve &C2) | 
| Intersects the curves C1 and C2. The results are retrieved by the usual methods described in IntRes2d_Intersection. Creates an intersector.   | |
| Geom2dHatch_Intersector () | |
| void | Perform (const gp_Lin2d &L, const Standard_Real P, const Standard_Real Tol, const Geom2dAdaptor_Curve &E) | 
| Performs the intersection between the 2d line segment (<L>,.   | |
| void | LocalGeometry (const Geom2dAdaptor_Curve &E, const Standard_Real U, gp_Dir2d &T, gp_Dir2d &N, Standard_Real &C) const | 
Returns in <T>, <N> and  the tangent, normal and curvature of the edge <E> at parameter value .   | |
  Public Member Functions inherited from Geom2dInt_GInter | |
| Geom2dInt_GInter () | |
| Empty constructor.   | |
| Geom2dInt_GInter (const Adaptor2d_Curve2d &C, const Standard_Real TolConf, const Standard_Real Tol) | |
| Self Intersection of a curve.   | |
| Geom2dInt_GInter (const Adaptor2d_Curve2d &C, const IntRes2d_Domain &D, const Standard_Real TolConf, const Standard_Real Tol) | |
| Self Intersection of a curve with a domain.   | |
| Geom2dInt_GInter (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const Standard_Real TolConf, const Standard_Real Tol) | |
| Intersection between 2 curves.   | |
| Geom2dInt_GInter (const Adaptor2d_Curve2d &C1, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &C2, const Standard_Real TolConf, const Standard_Real Tol) | |
| Intersection between 2 curves.   | |
| Geom2dInt_GInter (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol) | |
| Intersection between 2 curves.   | |
| Geom2dInt_GInter (const Adaptor2d_Curve2d &C1, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &C2, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol) | |
| Intersection between 2 curves.   | |
| void | Perform (const Adaptor2d_Curve2d &C1, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &C2, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol) | 
| Intersection between 2 curves.   | |
| void | Perform (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const Standard_Real TolConf, const Standard_Real Tol) | 
| Intersection between 2 curves.   | |
| void | Perform (const Adaptor2d_Curve2d &C1, const IntRes2d_Domain &D1, const Standard_Real TolConf, const Standard_Real Tol) | 
| Intersection between 2 curves.   | |
| void | Perform (const Adaptor2d_Curve2d &C1, const Standard_Real TolConf, const Standard_Real Tol) | 
| Intersection between 2 curves.   | |
| void | Perform (const Adaptor2d_Curve2d &C1, const IntRes2d_Domain &D1, const Adaptor2d_Curve2d &C2, const Standard_Real TolConf, const Standard_Real Tol) | 
| Intersection between 2 curves.   | |
| void | Perform (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const IntRes2d_Domain &D2, const Standard_Real TolConf, const Standard_Real Tol) | 
| Intersection between 2 curves.   | |
| IntRes2d_Domain | ComputeDomain (const Adaptor2d_Curve2d &C1, const Standard_Real TolDomain) const | 
| Create a domain from a curve.   | |
| void | SetMinNbSamples (const Standard_Integer theMinNbSamples) | 
| Set / get minimum number of points in polygon intersection.   | |
| Standard_Integer | GetMinNbSamples () const | 
  Public Member Functions inherited from IntRes2d_Intersection | |
| Standard_Boolean | IsDone () const | 
| returns TRUE when the computation was successful.   | |
| Standard_Boolean | IsEmpty () const | 
| Returns TRUE if there is no intersection between the given arguments. The exception NotDone is raised if IsDone returns FALSE.   | |
| Standard_Integer | NbPoints () const | 
| This function returns the number of intersection points between the 2 curves. The exception NotDone is raised if IsDone returns FALSE.   | |
| const IntRes2d_IntersectionPoint & | Point (const Standard_Integer N) const | 
| This function returns the intersection point of range N; The exception NotDone is raised if IsDone returns FALSE. The exception OutOfRange is raised if (N <= 0) or (N > NbPoints).   | |
| Standard_Integer | NbSegments () const | 
| This function returns the number of intersection segments between the two curves. The exception NotDone is raised if IsDone returns FALSE.   | |
| const IntRes2d_IntersectionSegment & | Segment (const Standard_Integer N) const | 
| This function returns the intersection segment of range N; The exception NotDone is raised if IsDone returns FALSE. The exception OutOfRange is raised if (N <= 0) or (N > NbPoints).   | |
| void | SetReversedParameters (const Standard_Boolean Reverseflag) | 
Additional Inherited Members | |
  Protected Member Functions inherited from IntRes2d_Intersection | |
| IntRes2d_Intersection () | |
| Empty constructor.   | |
| IntRes2d_Intersection (const IntRes2d_Intersection &Other) | |
| IntRes2d_Intersection & | operator= (const IntRes2d_Intersection &theOther) | 
| Assignment.   | |
| ~IntRes2d_Intersection () | |
| Destructor is protected, for safe inheritance.   | |
| void | SetValues (const IntRes2d_Intersection &Inter) | 
| void | Append (const IntRes2d_Intersection &Inter, const Standard_Real FirstParam1, const Standard_Real LastParam1, const Standard_Real FirstParam2, const Standard_Real LastParam2) | 
| void | Append (const IntRes2d_IntersectionSegment &Seg) | 
| void | Append (const IntRes2d_IntersectionPoint &Pnt) | 
| void | Insert (const IntRes2d_IntersectionPoint &Pnt) | 
| void | ResetFields () | 
| Standard_Boolean | ReversedParameters () const | 
  Protected Attributes inherited from IntRes2d_Intersection | |
| IntRes2d_SequenceOfIntersectionPoint | lpnt | 
| IntRes2d_SequenceOfIntersectionSegment | lseg | 
| Standard_Boolean | done | 
| Standard_Boolean | reverse | 
| Geom2dHatch_Intersector::Geom2dHatch_Intersector | ( | const Standard_Real | Confusion, | 
| const Standard_Real | Tangency | ||
| ) | 
Creates an intersector.
| Geom2dHatch_Intersector::Geom2dHatch_Intersector | ( | ) | 
| Standard_Real Geom2dHatch_Intersector::ConfusionTolerance | ( | ) | const | 
Returns the confusion tolerance of the intersector.
| void Geom2dHatch_Intersector::Intersect | ( | const Geom2dAdaptor_Curve & | C1, | 
| const Geom2dAdaptor_Curve & | C2 | ||
| ) | 
Intersects the curves C1 and C2. The results are retrieved by the usual methods described in IntRes2d_Intersection. Creates an intersector.
| void Geom2dHatch_Intersector::LocalGeometry | ( | const Geom2dAdaptor_Curve & | E, | 
| const Standard_Real | U, | ||
| gp_Dir2d & | T, | ||
| gp_Dir2d & | N, | ||
| Standard_Real & | C | ||
| ) | const | 
Returns in <T>, <N> and  the tangent, normal and curvature of the edge <E> at parameter value . 
| void Geom2dHatch_Intersector::Perform | ( | const gp_Lin2d & | L, | 
| const Standard_Real | P, | ||
| const Standard_Real | Tol, | ||
| const Geom2dAdaptor_Curve & | E | ||
| ) | 
Performs the intersection between the 2d line segment (<L>,.
) and the Curve <E>. The line segment is the part of the 2d line <L> of parameter range [0,
] (P is positive and can be RealLast()). Tol is the Tolerance on the segment. The order is relevant, the first argument is the segment, the second the Edge.
| void Geom2dHatch_Intersector::SetConfusionTolerance | ( | const Standard_Real | Confusion | ) | 
Sets the confusion tolerance of the intersector.
| void Geom2dHatch_Intersector::SetTangencyTolerance | ( | const Standard_Real | Tangency | ) | 
Sets the tangency tolerance of the intersector.
| Standard_Real Geom2dHatch_Intersector::TangencyTolerance | ( | ) | const | 
Returns the tangency tolerance of the intersector.