Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
IntCurve_IntImpConicParConic Class Reference

#include <IntCurve_IntImpConicParConic.hxx>

Inheritance diagram for IntCurve_IntImpConicParConic:
Inheritance graph
[legend]

Public Member Functions

 IntCurve_IntImpConicParConic ()
 Empty constructor.
 
 IntCurve_IntImpConicParConic (const IntCurve_IConicTool &ITool, const IntRes2d_Domain &Dom1, const IntCurve_PConic &PCurve, const IntRes2d_Domain &Dom2, const double TolConf, const double Tol)
 Intersection between an implicit curve and a parametrised curve. The exception ConstructionError is raised if the domain of the parametrised curve does not verify HasFirstPoint and HasLastPoint return True.
 
void Perform (const IntCurve_IConicTool &ITool, const IntRes2d_Domain &Dom1, const IntCurve_PConic &PCurve, const IntRes2d_Domain &Dom2, const double TolConf, const double Tol)
 Intersection between an implicit curve and a parametrised curve. The exception ConstructionError is raised if the domain of the parametrised curve does not verify HasFirstPoint and HasLastPoint return True.
 
double FindU (const double parameter, gp_Pnt2d &point, const IntCurve_PConic &TheParCurev, const IntCurve_IConicTool &TheImpTool) const
 
double FindV (const double parameter, gp_Pnt2d &point, const IntCurve_IConicTool &TheImpTool, const IntCurve_PConic &ParCurve, const IntRes2d_Domain &TheParCurveDomain, const double V0, const double V1, const double Tolerance) const
 
void And_Domaine_Objet1_Intersections (const IntCurve_IConicTool &TheImpTool, const IntCurve_PConic &TheParCurve, const IntRes2d_Domain &TheImpCurveDomain, const IntRes2d_Domain &TheParCurveDomain, int &NbResultats, NCollection_Array1< double > &Inter2_And_Domain2, NCollection_Array1< double > &Inter1, NCollection_Array1< double > &Resultat1, NCollection_Array1< double > &Resultat2, const double EpsNul) const
 
- Public Member Functions inherited from IntRes2d_Intersection
bool IsDone () const
 returns TRUE when the computation was successful.
 
bool IsEmpty () const
 Returns TRUE if there is no intersection between the given arguments. The exception NotDone is raised if IsDone returns FALSE.
 
int 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_IntersectionPointPoint (const int 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).
 
int 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_IntersectionSegmentSegment (const int 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 bool Reverseflag)
 

Additional Inherited Members

- Protected Member Functions inherited from IntRes2d_Intersection
 IntRes2d_Intersection ()
 Empty constructor.
 
 IntRes2d_Intersection (const IntRes2d_Intersection &Other)
 
IntRes2d_Intersectionoperator= (const IntRes2d_Intersection &theOther)=default
 Assignment.
 
 ~IntRes2d_Intersection ()=default
 Destructor is protected, for safe inheritance.
 
void SetValues (const IntRes2d_Intersection &Inter)
 
void Append (const IntRes2d_Intersection &Inter, const double FirstParam1, const double LastParam1, const double FirstParam2, const double LastParam2)
 
void Append (const IntRes2d_IntersectionSegment &Seg)
 
void Append (const IntRes2d_IntersectionPoint &Pnt)
 
void Insert (const IntRes2d_IntersectionPoint &Pnt)
 
void ResetFields ()
 
bool ReversedParameters () const
 
- Protected Attributes inherited from IntRes2d_Intersection
NCollection_Sequence< IntRes2d_IntersectionPointlpnt
 
NCollection_Sequence< IntRes2d_IntersectionSegmentlseg
 
bool done
 
bool reverse
 

Constructor & Destructor Documentation

◆ IntCurve_IntImpConicParConic() [1/2]

IntCurve_IntImpConicParConic::IntCurve_IntImpConicParConic ( )

Empty constructor.

◆ IntCurve_IntImpConicParConic() [2/2]

IntCurve_IntImpConicParConic::IntCurve_IntImpConicParConic ( const IntCurve_IConicTool & ITool,
const IntRes2d_Domain & Dom1,
const IntCurve_PConic & PCurve,
const IntRes2d_Domain & Dom2,
const double TolConf,
const double Tol )

Intersection between an implicit curve and a parametrised curve. The exception ConstructionError is raised if the domain of the parametrised curve does not verify HasFirstPoint and HasLastPoint return True.

Member Function Documentation

◆ And_Domaine_Objet1_Intersections()

void IntCurve_IntImpConicParConic::And_Domaine_Objet1_Intersections ( const IntCurve_IConicTool & TheImpTool,
const IntCurve_PConic & TheParCurve,
const IntRes2d_Domain & TheImpCurveDomain,
const IntRes2d_Domain & TheParCurveDomain,
int & NbResultats,
NCollection_Array1< double > & Inter2_And_Domain2,
NCollection_Array1< double > & Inter1,
NCollection_Array1< double > & Resultat1,
NCollection_Array1< double > & Resultat2,
const double EpsNul ) const

◆ FindU()

double IntCurve_IntImpConicParConic::FindU ( const double parameter,
gp_Pnt2d & point,
const IntCurve_PConic & TheParCurev,
const IntCurve_IConicTool & TheImpTool ) const

◆ FindV()

double IntCurve_IntImpConicParConic::FindV ( const double parameter,
gp_Pnt2d & point,
const IntCurve_IConicTool & TheImpTool,
const IntCurve_PConic & ParCurve,
const IntRes2d_Domain & TheParCurveDomain,
const double V0,
const double V1,
const double Tolerance ) const

◆ Perform()

void IntCurve_IntImpConicParConic::Perform ( const IntCurve_IConicTool & ITool,
const IntRes2d_Domain & Dom1,
const IntCurve_PConic & PCurve,
const IntRes2d_Domain & Dom2,
const double TolConf,
const double Tol )

Intersection between an implicit curve and a parametrised curve. The exception ConstructionError is raised if the domain of the parametrised curve does not verify HasFirstPoint and HasLastPoint return True.


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