Open CASCADE Technology
7.5.0

This class implements the following algorithms used to create a Lin from gp. More...
#include <gce_MakeLin.hxx>
Public Member Functions  
gce_MakeLin (const gp_Ax1 &A1)  
Creates a line located along the axis A1. More...  
gce_MakeLin (const gp_Pnt &P, const gp_Dir &V)  
gce_MakeLin (const gp_Lin &Lin, const gp_Pnt &Point)  
Make a Lin from gp <TheLin> parallel to another Lin <Lin> and passing through a Pnt <Point>. More...  
gce_MakeLin (const gp_Pnt &P1, const gp_Pnt &P2)  
Make a Lin from gp <TheLin> passing through 2 Pnt <P1>,<P2>. It returns false if <p1> and <P2> are confused. More...  
const gp_Lin &  Value () const 
Returns the constructed line. Exceptions StdFail_NotDone is raised if no line is constructed. More...  
const gp_Lin &  Operator () const 
operator gp_Lin () const  
Public Member Functions inherited from gce_Root  
Standard_Boolean  IsDone () const 
Returns true if the construction is successful. More...  
gce_ErrorType  Status () const 
Returns the status of the construction: More...  
Additional Inherited Members  
Protected Attributes inherited from gce_Root  
gce_ErrorType  TheError 
This class implements the following algorithms used to create a Lin from gp.
gce_MakeLin::gce_MakeLin  (  const gp_Ax1 &  A1  ) 
Creates a line located along the axis A1.
is the location point (origin) of the line and <V> is the direction of the line.
Make a Lin from gp <TheLin> parallel to another Lin <Lin> and passing through a Pnt <Point>.
Make a Lin from gp <TheLin> passing through 2 Pnt <P1>,<P2>. It returns false if <p1> and <P2> are confused.
const gp_Lin& gce_MakeLin::Operator  (  )  const 
gce_MakeLin::operator gp_Lin  (  )  const 
const gp_Lin& gce_MakeLin::Value  (  )  const 
Returns the constructed line. Exceptions StdFail_NotDone is raised if no line is constructed.