Open CASCADE Technology  7.5.0
Public Member Functions

Geom2dInt_GInter Class Reference

#include <Geom2dInt_GInter.hxx>

Inheritance diagram for Geom2dInt_GInter:
Inheritance graph
[legend]

Public Member Functions

 Geom2dInt_GInter ()
 Empty constructor. More...
 
 Geom2dInt_GInter (const Adaptor2d_Curve2d &C, const Standard_Real TolConf, const Standard_Real Tol)
 Self Intersection of a curve. More...
 
 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. More...
 
 Geom2dInt_GInter (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const Standard_Real TolConf, const Standard_Real Tol)
 Intersection between 2 curves. More...
 
 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. More...
 
 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. More...
 
 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. More...
 
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. More...
 
void Perform (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const Standard_Real TolConf, const Standard_Real Tol)
 Intersection between 2 curves. More...
 
void Perform (const Adaptor2d_Curve2d &C1, const IntRes2d_Domain &D1, const Standard_Real TolConf, const Standard_Real Tol)
 Intersection between 2 curves. More...
 
void Perform (const Adaptor2d_Curve2d &C1, const Standard_Real TolConf, const Standard_Real Tol)
 Intersection between 2 curves. More...
 
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. More...
 
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. More...
 
IntRes2d_Domain ComputeDomain (const Adaptor2d_Curve2d &C1, const Standard_Real TolDomain) const
 Create a domain from a curve. More...
 
void SetMinNbSamples (const Standard_Integer theMinNbSamples)
 Set / get minimum number of points in polygon intersection. More...
 
Standard_Integer GetMinNbSamples () const
 
- Public Member Functions inherited from IntRes2d_Intersection
Standard_Boolean IsDone () const
 returns TRUE when the computation was successful. More...
 
Standard_Boolean IsEmpty () const
 Returns TRUE if there is no intersection between the given arguments. The exception NotDone is raised if IsDone returns FALSE. More...
 
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. More...
 
const IntRes2d_IntersectionPointPoint (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). More...
 
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. More...
 
const IntRes2d_IntersectionSegmentSegment (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). More...
 
void SetReversedParameters (const Standard_Boolean Reverseflag)
 

Additional Inherited Members

- Protected Member Functions inherited from IntRes2d_Intersection
 IntRes2d_Intersection ()
 Empty constructor. More...
 
 IntRes2d_Intersection (const IntRes2d_Intersection &Other)
 
IntRes2d_Intersectionoperator= (const IntRes2d_Intersection &theOther)
 Assignment. More...
 
 ~IntRes2d_Intersection ()
 Destructor is protected, for safe inheritance. More...
 
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
 

Constructor & Destructor Documentation

◆ Geom2dInt_GInter() [1/7]

Geom2dInt_GInter::Geom2dInt_GInter ( )

Empty constructor.

◆ Geom2dInt_GInter() [2/7]

Geom2dInt_GInter::Geom2dInt_GInter ( const Adaptor2d_Curve2d C,
const Standard_Real  TolConf,
const Standard_Real  Tol 
)

Self Intersection of a curve.

◆ Geom2dInt_GInter() [3/7]

Geom2dInt_GInter::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() [4/7]

Geom2dInt_GInter::Geom2dInt_GInter ( const Adaptor2d_Curve2d C1,
const Adaptor2d_Curve2d C2,
const Standard_Real  TolConf,
const Standard_Real  Tol 
)

Intersection between 2 curves.

◆ Geom2dInt_GInter() [5/7]

Geom2dInt_GInter::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() [6/7]

Geom2dInt_GInter::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() [7/7]

Geom2dInt_GInter::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.

Member Function Documentation

◆ ComputeDomain()

IntRes2d_Domain Geom2dInt_GInter::ComputeDomain ( const Adaptor2d_Curve2d C1,
const Standard_Real  TolDomain 
) const

Create a domain from a curve.

◆ GetMinNbSamples()

Standard_Integer Geom2dInt_GInter::GetMinNbSamples ( ) const

◆ Perform() [1/6]

void Geom2dInt_GInter::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.

◆ Perform() [2/6]

void Geom2dInt_GInter::Perform ( const Adaptor2d_Curve2d C1,
const Adaptor2d_Curve2d C2,
const Standard_Real  TolConf,
const Standard_Real  Tol 
)

Intersection between 2 curves.

◆ Perform() [3/6]

void Geom2dInt_GInter::Perform ( const Adaptor2d_Curve2d C1,
const IntRes2d_Domain D1,
const Standard_Real  TolConf,
const Standard_Real  Tol 
)

Intersection between 2 curves.

◆ Perform() [4/6]

void Geom2dInt_GInter::Perform ( const Adaptor2d_Curve2d C1,
const Standard_Real  TolConf,
const Standard_Real  Tol 
)

Intersection between 2 curves.

◆ Perform() [5/6]

void Geom2dInt_GInter::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.

◆ Perform() [6/6]

void Geom2dInt_GInter::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.

◆ SetMinNbSamples()

void Geom2dInt_GInter::SetMinNbSamples ( const Standard_Integer  theMinNbSamples)

Set / get minimum number of points in polygon intersection.


The documentation for this class was generated from the following file: