Open CASCADE Technology 7.8.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. | |
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>. | |
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. | |
const gp_Lin & | Value () const |
Returns the constructed line. Exceptions StdFail_NotDone is raised if no line is constructed. | |
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. | |
gce_ErrorType | Status () const |
Returns the status of the construction: | |
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.
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.
gce_MakeLin::operator gp_Lin | ( | ) | const |
Returns the constructed line. Exceptions StdFail_NotDone is raised if no line is constructed.