Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
IntAna_IntLinTorus Class Reference

Intersection between a line and a torus.

#include <IntAna_IntLinTorus.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC 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.

Standard_Boolean IsDone () const
 Returns True if the computation was successful.


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


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


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


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.



Constructor & Destructor Documentation


Member Function Documentation


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