OCC Main Page | ModelingData | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingData
TKGeomBase
IntAna


IntAna_IntConicQuad Class Reference

This class provides the analytic intersection between
a conic defined as an element of gp (Lin,Circ,Elips,
Parab,Hypr) and a quadric as defined in the class
Quadric from IntAna.
The intersection between a conic and a plane is treated
as a special case.

The result of the intersection are points (Pnt from
gp), associated with the parameter on the conic.

A call to an Intersection L:Lin from gp and
SPH: Sphere from gp can be written either :
IntAna_IntConicQuad Inter(L,IntAna_Quadric(SPH))
or :
IntAna_IntConicQuad Inter(L,SPH) (it is necessary
to include IntAna_Quadric.hxx in this case)
.

#include <IntAna_IntConicQuad.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT IntAna_IntConicQuad ()
 Empty constructor.

.
Standard_EXPORT IntAna_IntConicQuad (const gp_Lin &L, const IntAna_Quadric &Q)
 Creates the intersection between a line and a quadric.
.
Standard_EXPORT void Perform (const gp_Lin &L, const IntAna_Quadric &Q)
 Intersects a line and a quadric.
.
Standard_EXPORT IntAna_IntConicQuad (const gp_Circ &C, const IntAna_Quadric &Q)
 Creates the intersection between a circle and a quadric.
.
Standard_EXPORT void Perform (const gp_Circ &C, const IntAna_Quadric &Q)
 Intersects a circle and a quadric.
.
Standard_EXPORT IntAna_IntConicQuad (const gp_Elips &E, const IntAna_Quadric &Q)
 Creates the intersection between an ellipse and a quadric.
.
Standard_EXPORT void Perform (const gp_Elips &E, const IntAna_Quadric &Q)
 Intersects an ellipse and a quadric.
.
Standard_EXPORT IntAna_IntConicQuad (const gp_Parab &P, const IntAna_Quadric &Q)
 Creates the intersection between a parabola and a quadric.
.
Standard_EXPORT void Perform (const gp_Parab &P, const IntAna_Quadric &Q)
 Intersects a parabola and a quadric.
.
Standard_EXPORT IntAna_IntConicQuad (const gp_Hypr &H, const IntAna_Quadric &Q)
 Creates the intersection between an hyperbola and
a quadric.
.
Standard_EXPORT void Perform (const gp_Hypr &H, const IntAna_Quadric &Q)
 Intersects an hyperbola and a quadric.
.
Standard_EXPORT IntAna_IntConicQuad (const gp_Lin &L, const gp_Pln &P, const Standard_Real Tolang)
 Intersection between a line and a plane.
Tolang is used to determine if the angle between two
vectors is null.
.
Standard_EXPORT void Perform (const gp_Lin &L, const gp_Pln &P, const Standard_Real Tolang)
 Intersects a line and a plane.
Tolang is used to determine if the angle between two
vectors is null.
.
Standard_EXPORT IntAna_IntConicQuad (const gp_Circ &C, const gp_Pln &P, const Standard_Real Tolang, const Standard_Real Tol)
 Intersection between a circle and a plane.
Tolang is used to determine if the angle between two
vectors is null.
Tol is used to determine if a distance is null.
.
Standard_EXPORT void Perform (const gp_Circ &C, const gp_Pln &P, const Standard_Real Tolang, const Standard_Real Tol)
 Intersects a circle and a plane.
Tolang is used to determine if the angle between two
vectors is null.
Tol is used to determine if a distance is null.
.
Standard_EXPORT IntAna_IntConicQuad (const gp_Elips &E, const gp_Pln &P, const Standard_Real Tolang, const Standard_Real Tol)
 Intersection between an ellipse and a plane.
Tolang is used to determine if the angle between two
vectors is null.
Tol is used to determine if a distance is null.
.
Standard_EXPORT void Perform (const gp_Elips &E, const gp_Pln &P, const Standard_Real Tolang, const Standard_Real Tol)
 Intersects an ellipse and a plane.
Tolang is used to determine if the angle between two
vectors is null.
Tol is used to determine if a distance is null.
.
Standard_EXPORT IntAna_IntConicQuad (const gp_Parab &Pb, const gp_Pln &P, const Standard_Real Tolang)
 Intersection between a parabola and a plane.
Tolang is used to determine if the angle between two
vectors is null.
.
Standard_EXPORT void Perform (const gp_Parab &Pb, const gp_Pln &P, const Standard_Real Tolang)
 Intersects a parabola and a plane.
Tolang is used to determine if the angle between two
vectors is null.
.
Standard_EXPORT IntAna_IntConicQuad (const gp_Hypr &H, const gp_Pln &P, const Standard_Real Tolang)
 Intersection between an hyperbola and a plane.
Tolang is used to determine if the angle between two
vectors is null.
.
Standard_EXPORT void Perform (const gp_Hypr &H, const gp_Pln &P, const Standard_Real Tolang)
 Intersects an hyperbola and a plane.
Tolang is used to determine if the angle between two
vectors is null.
.
Standard_Boolean IsDone () const
 Returns TRUE if the creation completed.

.
Standard_Boolean IsInQuadric () const
 Returns TRUE if the conic is in the quadric.

.
Standard_Boolean IsParallel () const
 Returns TRUE if the line is in a quadric which
is parallel to the quadric.
.
Standard_Integer NbPoints () const
 Returns the number of intersection point.

.
const gp_Pnt & Point (const Standard_Integer N) const
 Returns the point of range N.

.
Standard_Real ParamOnConic (const Standard_Integer N) const
 Returns the parameter on the line of the intersection
point of range N.

.

Private Attributes

Standard_Boolean done
Standard_Boolean parallel
Standard_Boolean inquadric
Standard_Integer nbpts
gp_Pnt pnts [4]
Standard_Real paramonc [4]


Constructor & Destructor Documentation

Standard_EXPORT IntAna_IntConicQuad::IntAna_IntConicQuad  ) 
 

Standard_EXPORT IntAna_IntConicQuad::IntAna_IntConicQuad const gp_Lin &  L,
const IntAna_Quadric Q
 

Standard_EXPORT IntAna_IntConicQuad::IntAna_IntConicQuad const gp_Circ &  C,
const IntAna_Quadric Q
 

Standard_EXPORT IntAna_IntConicQuad::IntAna_IntConicQuad const gp_Elips &  E,
const IntAna_Quadric Q
 

Standard_EXPORT IntAna_IntConicQuad::IntAna_IntConicQuad const gp_Parab &  P,
const IntAna_Quadric Q
 

Standard_EXPORT IntAna_IntConicQuad::IntAna_IntConicQuad const gp_Hypr &  H,
const IntAna_Quadric Q
 

Standard_EXPORT IntAna_IntConicQuad::IntAna_IntConicQuad const gp_Lin &  L,
const gp_Pln &  P,
const Standard_Real  Tolang
 

Standard_EXPORT IntAna_IntConicQuad::IntAna_IntConicQuad const gp_Circ &  C,
const gp_Pln &  P,
const Standard_Real  Tolang,
const Standard_Real  Tol
 

Standard_EXPORT IntAna_IntConicQuad::IntAna_IntConicQuad const gp_Elips &  E,
const gp_Pln &  P,
const Standard_Real  Tolang,
const Standard_Real  Tol
 

Standard_EXPORT IntAna_IntConicQuad::IntAna_IntConicQuad const gp_Parab &  Pb,
const gp_Pln &  P,
const Standard_Real  Tolang
 

Standard_EXPORT IntAna_IntConicQuad::IntAna_IntConicQuad const gp_Hypr &  H,
const gp_Pln &  P,
const Standard_Real  Tolang
 


Member Function Documentation

Standard_Boolean IntAna_IntConicQuad::IsDone  )  const [inline]
 

Standard_Boolean IntAna_IntConicQuad::IsInQuadric  )  const [inline]
 

Standard_Boolean IntAna_IntConicQuad::IsParallel  )  const [inline]
 

Standard_Integer IntAna_IntConicQuad::NbPoints  )  const [inline]
 

void IntAna_IntConicQuad::operator delete void *  anAddress  )  [inline]
 

void* IntAna_IntConicQuad::operator new size_t  size  )  [inline]
 

void* IntAna_IntConicQuad::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_Real IntAna_IntConicQuad::ParamOnConic const Standard_Integer  N  )  const [inline]
 

Standard_EXPORT void IntAna_IntConicQuad::Perform const gp_Hypr &  H,
const gp_Pln &  P,
const Standard_Real  Tolang
 

Standard_EXPORT void IntAna_IntConicQuad::Perform const gp_Parab &  Pb,
const gp_Pln &  P,
const Standard_Real  Tolang
 

Standard_EXPORT void IntAna_IntConicQuad::Perform const gp_Elips &  E,
const gp_Pln &  P,
const Standard_Real  Tolang,
const Standard_Real  Tol
 

Standard_EXPORT void IntAna_IntConicQuad::Perform const gp_Circ &  C,
const gp_Pln &  P,
const Standard_Real  Tolang,
const Standard_Real  Tol
 

Standard_EXPORT void IntAna_IntConicQuad::Perform const gp_Lin &  L,
const gp_Pln &  P,
const Standard_Real  Tolang
 

Standard_EXPORT void IntAna_IntConicQuad::Perform const gp_Hypr &  H,
const IntAna_Quadric Q
 

Standard_EXPORT void IntAna_IntConicQuad::Perform const gp_Parab &  P,
const IntAna_Quadric Q
 

Standard_EXPORT void IntAna_IntConicQuad::Perform const gp_Elips &  E,
const IntAna_Quadric Q
 

Standard_EXPORT void IntAna_IntConicQuad::Perform const gp_Circ &  C,
const IntAna_Quadric Q
 

Standard_EXPORT void IntAna_IntConicQuad::Perform const gp_Lin &  L,
const IntAna_Quadric Q
 

const gp_Pnt & IntAna_IntConicQuad::Point const Standard_Integer  N  )  const [inline]
 


Field Documentation

Standard_Boolean IntAna_IntConicQuad::done [private]
 

Standard_Boolean IntAna_IntConicQuad::inquadric [private]
 

Standard_Integer IntAna_IntConicQuad::nbpts [private]
 

Standard_Boolean IntAna_IntConicQuad::parallel [private]
 

Standard_Real IntAna_IntConicQuad::paramonc[4] [private]
 

gp_Pnt IntAna_IntConicQuad::pnts[4] [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 13:23:02 2008 for OpenCASCADE by  doxygen 1.4.1