#include <gce_MakePln.hxx>
Inheritance diagram for gce_MakePln:
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | gce_MakePln (const gp_Ax2 &A2) |
The coordinate system of the plane is defined with the axis placement A2. The "Direction" of A2 defines the normal to the plane. The "Location" of A2 defines the location (origin) of the plane. The "XDirection" and "YDirection" of A2 define the "XAxis" and the "YAxis" of the plane used to parametrize the plane. . | |
Standard_EXPORT | gce_MakePln (const gp_Pnt &P, const gp_Dir &V) |
Creates a plane with the "Location" point | |
Standard_EXPORT | gce_MakePln (const Standard_Real A, const Standard_Real B, const Standard_Real C, const Standard_Real D) |
Creates a plane from its cartesian equation : A * X + B * Y + C * Z + D = 0.0 the status is "BadEquation" if Sqrt (A*A + B*B + C*C) <= Resolution from gp. . | |
Standard_EXPORT | gce_MakePln (const gp_Pln &Pln, const gp_Pnt &Point) |
Make a Pln from gp <thepln> parallel to another Pln <pln> and passing through a Pnt <point>. . | |
Standard_EXPORT | gce_MakePln (const gp_Pln &Pln, const Standard_Real Dist) |
Make a Pln from gp <thepln> parallel to another Pln <pln> at the distance <dist> which can be greater or less 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 opposite direction. . | |
Standard_EXPORT | gce_MakePln (const gp_Pnt &P1, const gp_Pnt &P2, const gp_Pnt &P3) |
Make a Pln from gp <thepln> passing through 3 Pnt <p1>,<p2>,<p3>. It returns false if <p1> <p2> <p3> are confused. . | |
Standard_EXPORT | gce_MakePln (const gp_Pnt &P1, const gp_Pnt &P2) |
Make a Pln from gp <thepln> perpendicular to the line passing through <p1>,<p2>. The status is "ConfusedPoints" if <p1> <p2> are confused. . | |
Standard_EXPORT | gce_MakePln (const gp_Ax1 &Axis) |
Make a pln passing through the location of <axis>and normal to the Direction of <axis>. Warning - If an error occurs (that is, when IsDone returns false), the Status function returns: - gce_BadEquation if Sqrt(A*A + B*B + C*C) is less than or equal to gp::Resolution(), - gce_ConfusedPoints if P1 and P2 are coincident, or - gce_ColinearPoints if P1, P2 and P3 are collinear. . | |
Standard_EXPORT const gp_Pln & | Value () const |
Returns the constructed plane. Exceptions StdFail_NotDone if no plane is constructed. . | |
Standard_EXPORT const gp_Pln & | Operator () const |
Standard_EXPORT | operator gp_Pln () const |
Private Attributes | |
gp_Pln | ThePln |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from gce_Root. |
|
|
|
Reimplemented from gce_Root. |
|
Reimplemented from gce_Root. |
|
|
|
|