Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
IntAna_IntLinTorus Class Reference

Intersection between a line and a torus.
More...

#include <IntAna_IntLinTorus.hxx>

Public Member Functions

 IntAna_IntLinTorus ()
 
 IntAna_IntLinTorus (const gp_Lin &L, const gp_Torus &T)
 Creates the intersection between a line and a torus.
More...
 
void Perform (const gp_Lin &L, const gp_Torus &T)
 Intersects a line and a torus.
More...
 
Standard_Boolean IsDone () const
 
 Returns True if the computation was successful. <br>


More...

 
Standard_Integer NbPoints () const
 
 Returns the number of intersection points. <br>


More...

 
const gp_PntValue (const Standard_Integer Index) const
 
 Returns the intersection point of range Index. <br>


More...

 
Standard_Real ParamOnLine (const Standard_Integer Index) const
 
 Returns the parameter on the line of the intersection <br>
     point of range Index. <br>


More...

 
void ParamOnTorus (const Standard_Integer Index, Standard_Real &FI, Standard_Real &THETA) const
 
 Returns the parameters on the torus of the intersection <br>
     point of range Index. <br>


More...

 

Detailed Description

Intersection between a line and a torus.

Constructor & Destructor Documentation

IntAna_IntLinTorus::IntAna_IntLinTorus ( )
IntAna_IntLinTorus::IntAna_IntLinTorus ( const gp_Lin L,
const gp_Torus T 
)

Creates the intersection between a line and a torus.

Member Function Documentation

Standard_Boolean IntAna_IntLinTorus::IsDone ( ) const

 Returns True if the computation was successful. <br>


Standard_Integer IntAna_IntLinTorus::NbPoints ( ) const

 Returns the number of intersection points. <br>


Standard_Real IntAna_IntLinTorus::ParamOnLine ( const Standard_Integer  Index) const

 Returns the parameter on the line of the intersection <br>
     point of range Index. <br>


void IntAna_IntLinTorus::ParamOnTorus ( const Standard_Integer  Index,
Standard_Real FI,
Standard_Real THETA 
) const

 Returns the parameters on the torus of the intersection <br>
     point of range Index. <br>


void IntAna_IntLinTorus::Perform ( const gp_Lin L,
const gp_Torus T 
)

Intersects a line and a torus.

const gp_Pnt& IntAna_IntLinTorus::Value ( const Standard_Integer  Index) const

 Returns the intersection point of range Index. <br>



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