Open CASCADE Technology
7.5.0
|
This class implements the following algorithms used to create a Plane from gp. More...
#include <GC_MakePlane.hxx>
Public Member Functions | |
GC_MakePlane (const gp_Pln &Pl) | |
Creates a plane from a non persistent plane from package gp. More... | |
GC_MakePlane (const gp_Pnt &P, const gp_Dir &V) | |
P is the "Location" point or origin of the plane. V is the direction normal to the plane. More... | |
GC_MakePlane (const Standard_Real A, const Standard_Real B, const Standard_Real C, const Standard_Real D) | |
Creates a plane from its cartesian equation : Ax + By + Cz + D = 0.0 Status is "BadEquation" if Sqrt (A*A + B*B + C*C) <= Resolution from gp. More... | |
GC_MakePlane (const gp_Pln &Pln, const gp_Pnt &Point) | |
Make a Plane from Geom <ThePlane> parallel to another Pln <Pln> and passing through a Pnt <Point>. More... | |
GC_MakePlane (const gp_Pln &Pln, const Standard_Real Dist) | |
Make a Plane from Geom <ThePlane> parallel to another Pln <Pln> at the distance <Dist> which can be greater or lower than zero. In the first case the result is at the distance <Dist> to the plane <Pln> in the direction of the normal to <Pln>. Otherwize it is in the oposite direction. More... | |
GC_MakePlane (const gp_Pnt &P1, const gp_Pnt &P2, const gp_Pnt &P3) | |
Make a Plane from Geom <ThePlane> passing through 3 Pnt <P1>,<P2>,<P3>. It returns false if <P1> <P2> <P3> are confused. More... | |
GC_MakePlane (const gp_Ax1 &Axis) | |
Make a Plane passing through the location of <Axis>and normal to the Direction of <Axis>. More... | |
const Handle< Geom_Plane > & | Value () const |
Returns the constructed plane. Exceptions StdFail_NotDone if no plane is constructed. More... | |
operator const Handle< Geom_Plane > & () const | |
Public Member Functions inherited from GC_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 GC_Root | |
gce_ErrorType | TheError |
This class implements the following algorithms used to create a Plane from gp.
GC_MakePlane::GC_MakePlane | ( | const gp_Pln & | Pl | ) |
Creates a plane from a non persistent plane from package gp.
P is the "Location" point or origin of the plane. V is the direction normal to the plane.
GC_MakePlane::GC_MakePlane | ( | const Standard_Real | A, |
const Standard_Real | B, | ||
const Standard_Real | C, | ||
const Standard_Real | D | ||
) |
Creates a plane from its cartesian equation : Ax + By + Cz + D = 0.0 Status is "BadEquation" if Sqrt (A*A + B*B + C*C) <= Resolution from gp.
Make a Plane from Geom <ThePlane> parallel to another Pln <Pln> and passing through a Pnt <Point>.
GC_MakePlane::GC_MakePlane | ( | const gp_Pln & | Pln, |
const Standard_Real | Dist | ||
) |
Make a Plane from Geom <ThePlane> parallel to another Pln <Pln> at the distance <Dist> which can be greater or lower than zero. In the first case the result is at the distance <Dist> to the plane <Pln> in the direction of the normal to <Pln>. Otherwize it is in the oposite direction.
Make a Plane from Geom <ThePlane> passing through 3 Pnt <P1>,<P2>,<P3>. It returns false if <P1> <P2> <P3> are confused.
GC_MakePlane::GC_MakePlane | ( | const gp_Ax1 & | Axis | ) |
Make a Plane passing through the location of <Axis>and normal to the Direction of <Axis>.
|
inline |
const Handle< Geom_Plane >& GC_MakePlane::Value | ( | ) | const |
Returns the constructed plane. Exceptions StdFail_NotDone if no plane is constructed.