Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
BRepLib_MakeFace Class Reference

Provides methods to build faces.

A face may be built :

More...

#include <BRepLib_MakeFace.hxx>

Inheritance diagram for BRepLib_MakeFace:
Inheritance graph
[legend]

Public Member Functions

DEFINE_STANDARD_ALLOC BRepLib_MakeFace ()
 Not done.

 BRepLib_MakeFace (const TopoDS_Face &F)
 Load a face. Usefull to add wires.

 BRepLib_MakeFace (const gp_Pln &P)
 Make a face from a plane.

 BRepLib_MakeFace (const gp_Cylinder &C)
 Make a face from a cylinder.

 BRepLib_MakeFace (const gp_Cone &C)
 Make a face from a cone.

 BRepLib_MakeFace (const gp_Sphere &S)
 Make a face from a sphere.

 BRepLib_MakeFace (const gp_Torus &C)
 Make a face from a torus.

 BRepLib_MakeFace (const Handle< Geom_Surface > &S, const Standard_Real TolDegen)
 Make a face from a Surface. Accepts tolerance value (TolDegen)
for resolution of degenerated edges.

 BRepLib_MakeFace (const gp_Pln &P, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax)
 Make a face from a plane.

 BRepLib_MakeFace (const gp_Cylinder &C, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax)
 Make a face from a cylinder.

 BRepLib_MakeFace (const gp_Cone &C, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax)
 Make a face from a cone.

 BRepLib_MakeFace (const gp_Sphere &S, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax)
 Make a face from a sphere.

 BRepLib_MakeFace (const gp_Torus &C, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax)
 Make a face from a torus.

 BRepLib_MakeFace (const Handle< Geom_Surface > &S, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax, const Standard_Real TolDegen)
 Make a face from a Surface. Accepts min & max parameters
to construct the face's bounds. Also accepts tolerance value (TolDegen)
for resolution of degenerated edges.

 BRepLib_MakeFace (const TopoDS_Wire &W, const Standard_Boolean OnlyPlane=Standard_False)
 Find a surface from the wire and make a face.
if <OnlyPlane> is true, the computed surface will be
a plane. If it is not possible to find a plane, the
flag NotDone will be set.

 BRepLib_MakeFace (const gp_Pln &P, const TopoDS_Wire &W, const Standard_Boolean Inside=Standard_True)
 Make a face from a plane and a wire.

 BRepLib_MakeFace (const gp_Cylinder &C, const TopoDS_Wire &W, const Standard_Boolean Inside=Standard_True)
 Make a face from a cylinder and a wire.

 BRepLib_MakeFace (const gp_Cone &C, const TopoDS_Wire &W, const Standard_Boolean Inside=Standard_True)
 Make a face from a cone and a wire.

 BRepLib_MakeFace (const gp_Sphere &S, const TopoDS_Wire &W, const Standard_Boolean Inside=Standard_True)
 Make a face from a sphere and a wire.

 BRepLib_MakeFace (const gp_Torus &C, const TopoDS_Wire &W, const Standard_Boolean Inside=Standard_True)
 Make a face from a torus and a wire.

 BRepLib_MakeFace (const Handle< Geom_Surface > &S, const TopoDS_Wire &W, const Standard_Boolean Inside=Standard_True)
 Make a face from a Surface and a wire.

 BRepLib_MakeFace (const TopoDS_Face &F, const TopoDS_Wire &W)
 Adds the wire <W> in the face <F>

void Init (const TopoDS_Face &F)
 Load the face.

void Init (const Handle< Geom_Surface > &S, const Standard_Boolean Bound, const Standard_Real TolDegen)
 Creates the face from the surface. If Bound is
True a wire is made from the natural bounds.
Accepts tolerance value (TolDegen) for resolution
of degenerated edges.

void Init (const Handle< Geom_Surface > &S, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax, const Standard_Real TolDegen)
 Creates the face from the surface and the min-max
values. Accepts tolerance value (TolDegen) for resolution
of degenerated edges.

void Add (const TopoDS_Wire &W)
 Adds the wire <W> in the current face.

BRepLib_FaceError Error () const
const TopoDS_FaceFace () const
 Returns the new face.


 operator TopoDS_Face () const

Detailed Description

     * From a surface. <br>


From a surface and U,V values.


Constructor & Destructor Documentation


Member Function Documentation

BRepLib_MakeFace::operator TopoDS_Face ( ) const

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