Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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.
 
void Perform (const gp_Lin &L, const gp_Torus &T)
 Intersects a line and a torus.
 
bool IsDone () const
 Returns True if the computation was successful.
 
int NbPoints () const
 Returns the number of intersection points.
 
const gp_PntValue (const int Index) const
 Returns the intersection point of range Index.
 
double ParamOnLine (const int Index) const
 Returns the parameter on the line of the intersection point of range Index.
 
void ParamOnTorus (const int Index, double &FI, double &THETA) const
 Returns the parameters on the torus of the intersection point of range Index.
 

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()

bool IntAna_IntLinTorus::IsDone ( ) const

Returns True if the computation was successful.

◆ NbPoints()

int IntAna_IntLinTorus::NbPoints ( ) const

Returns the number of intersection points.

◆ ParamOnLine()

double IntAna_IntLinTorus::ParamOnLine ( const int Index) const

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

◆ ParamOnTorus()

void IntAna_IntLinTorus::ParamOnTorus ( const int Index,
double & FI,
double & 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 int Index) const

Returns the intersection point of range Index.


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