Open CASCADE Technology  7.3.0
Public Member Functions

GC_MakePlane Class Reference

This class implements the following algorithms used to create a Plane from gp. More...

#include <GC_MakePlane.hxx>

Inheritance diagram for GC_MakePlane:
Inheritance graph
[legend]

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
 

Detailed Description

This class implements the following algorithms used to create a Plane from gp.

Constructor & Destructor Documentation

◆ GC_MakePlane() [1/7]

GC_MakePlane::GC_MakePlane ( const gp_Pln Pl)

Creates a plane from a non persistent plane from package gp.

◆ GC_MakePlane() [2/7]

GC_MakePlane::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.

◆ GC_MakePlane() [3/7]

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.

◆ GC_MakePlane() [4/7]

GC_MakePlane::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>.

◆ GC_MakePlane() [5/7]

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.

◆ GC_MakePlane() [6/7]

GC_MakePlane::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.

◆ GC_MakePlane() [7/7]

GC_MakePlane::GC_MakePlane ( const gp_Ax1 Axis)

Make a Plane passing through the location of <Axis>and normal to the Direction of <Axis>.

Member Function Documentation

◆ operator const Handle< Geom_Plane > &()

GC_MakePlane::operator const Handle< Geom_Plane > & ( ) const
inline

◆ Value()

const Handle< Geom_Plane >& GC_MakePlane::Value ( ) const

Returns the constructed plane. Exceptions StdFail_NotDone if no plane is constructed.


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