Open CASCADE Technology
7.4.0
|
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_Pnt & | Value (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... | |
Intersection between a line and a torus.
IntAna_IntLinTorus::IntAna_IntLinTorus | ( | ) |
Creates the intersection between a line and a torus.
Standard_Boolean IntAna_IntLinTorus::IsDone | ( | ) | const |
Returns True if the computation was successful.
Standard_Integer IntAna_IntLinTorus::NbPoints | ( | ) | const |
Returns the number of intersection points.
Standard_Real IntAna_IntLinTorus::ParamOnLine | ( | const Standard_Integer | Index | ) | const |
Returns the parameter on the line of the intersection point of range Index.
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.
Intersects a line and a torus.
const gp_Pnt& IntAna_IntLinTorus::Value | ( | const Standard_Integer | Index | ) | const |
Returns the intersection point of range Index.