Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
IntAna2d_AnaIntersection Class Reference

Implementation of the analytical intersection between:
More...

#include <IntAna2d_AnaIntersection.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC IntAna2d_AnaIntersection ()
 Empty constructor. IsDone returns False.

 IntAna2d_AnaIntersection (const gp_Lin2d &L1, const gp_Lin2d &L2)
 Intersection between two lines.

 IntAna2d_AnaIntersection (const gp_Circ2d &C1, const gp_Circ2d &C2)
 Intersection between two circles.

 IntAna2d_AnaIntersection (const gp_Lin2d &L, const gp_Circ2d &C)
 Intersection between a line and a circle.

 IntAna2d_AnaIntersection (const gp_Lin2d &L, const IntAna2d_Conic &C)
 Intersection between a line and a conic.

 IntAna2d_AnaIntersection (const gp_Circ2d &C, const IntAna2d_Conic &Co)
 Intersection between a circle and another conic.

 IntAna2d_AnaIntersection (const gp_Elips2d &E, const IntAna2d_Conic &C)
 Intersection between an ellipse and another conic.

 IntAna2d_AnaIntersection (const gp_Parab2d &P, const IntAna2d_Conic &C)
 Intersection between a parabola and another conic.

 IntAna2d_AnaIntersection (const gp_Hypr2d &H, const IntAna2d_Conic &C)
 Intersection between an hyperbola and another conic.

void Perform (const gp_Lin2d &L1, const gp_Lin2d &L2)
 Intersection between two lines.

void Perform (const gp_Circ2d &C1, const gp_Circ2d &C2)
 Intersection between two circles.

void Perform (const gp_Lin2d &L, const gp_Circ2d &C)
 Intersection between a line and a circle.

void Perform (const gp_Lin2d &L, const IntAna2d_Conic &C)
 Intersection between a line and a conic.

void Perform (const gp_Circ2d &C, const IntAna2d_Conic &Co)
 Intersection between a circle and another conic.

void Perform (const gp_Elips2d &E, const IntAna2d_Conic &C)
 Intersection between an ellipse and another conic.

void Perform (const gp_Parab2d &P, const IntAna2d_Conic &C)
 Intersection between a parabola and another conic.

void Perform (const gp_Hypr2d &H, const IntAna2d_Conic &C)
 Intersection between an hyperbola and another conic.

Standard_Boolean IsDone () const
 Returns TRUE if the computation was succesfull.

Standard_Boolean IsEmpty () const
 Returns TRUE when there is no intersection, i-e

Standard_Boolean IdenticalElements () const
 For the intersection between an element of gp and a conic
known by an implicit equation, the result will be TRUE
if the element of gp verifies the implicit equation.
For the intersection between two Lin2d or two Circ2d, the
result will be TRUE if the elements are identical.
The function returns FALSE in all the other cases.

Standard_Boolean ParallelElements () const
 For the intersection between two Lin2d or two Circ2d,
the function returns TRUE if the elements are parallel.
The function returns FALSE in all the other cases.

Standard_Integer NbPoints () const
 returns the number of IntPoint between the 2 curves.

const IntAna2d_IntPointPoint (const Standard_Integer N) const
 returns the intersection point of range N;
If (N<=0) or (N>NbPoints), an exception is raised.


Detailed Description


Constructor & Destructor Documentation


Member Function Documentation

  • no intersection point
  • the elements are not identical.
    The element may be parallel in this case.

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