Open CASCADE Technology  7.7.0
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. More...
 
Standard_Integer NbPoints () const
 Returns the number of intersection points. More...
 
const gp_PntValue (const Standard_Integer Index) const
 Returns the intersection point of range Index. More...
 
Standard_Real ParamOnLine (const Standard_Integer Index) const
 Returns the parameter on the line of the intersection point of range Index. More...
 
void ParamOnTorus (const Standard_Integer Index, Standard_Real &FI, Standard_Real &THETA) const
 Returns the parameters on the torus of the intersection point of range Index. More...
 

Detailed Description

Intersection between a line and a torus.

Constructor & Destructor Documentation

◆ IntAna_IntLinTorus() [1/2]

IntAna_IntLinTorus::IntAna_IntLinTorus ( )

◆ IntAna_IntLinTorus() [2/2]

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

Creates the intersection between a line and a torus.

Member Function Documentation

◆ IsDone()

Standard_Boolean IntAna_IntLinTorus::IsDone ( ) const

Returns True if the computation was successful.

◆ NbPoints()

Standard_Integer IntAna_IntLinTorus::NbPoints ( ) const

Returns the number of intersection points.

◆ ParamOnLine()

Standard_Real IntAna_IntLinTorus::ParamOnLine ( const Standard_Integer  Index) const

Returns the parameter on the line of the intersection point of range Index.

◆ ParamOnTorus()

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

Returns the parameters on the torus of the intersection point of range Index.

◆ Perform()

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

Intersects a line and a torus.

◆ Value()

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

Returns the intersection point of range Index.


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