Open CASCADE Technology 6.6.0
Public Member Functions
BRepLib_MakeFace Class Reference

Provides methods to build faces.

A face may be built :

* From a surface.

More...

#include <BRepLib_MakeFace.hxx>

Inheritance diagram for BRepLib_MakeFace:
Inheritance graph
[legend]

Public Member Functions

 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

Find the surface automatically if possible.

* From a surface and a wire.


Constructor & Destructor Documentation

BRepLib_MakeFace::BRepLib_MakeFace ( )
BRepLib_MakeFace::BRepLib_MakeFace ( const TopoDS_Face F)
BRepLib_MakeFace::BRepLib_MakeFace ( const gp_Pln P)
BRepLib_MakeFace::BRepLib_MakeFace ( const gp_Cylinder C)
BRepLib_MakeFace::BRepLib_MakeFace ( const gp_Cone C)
BRepLib_MakeFace::BRepLib_MakeFace ( const gp_Sphere S)
BRepLib_MakeFace::BRepLib_MakeFace ( const gp_Torus C)
BRepLib_MakeFace::BRepLib_MakeFace ( const Handle< Geom_Surface > &  S,
const Standard_Real  TolDegen 
)
BRepLib_MakeFace::BRepLib_MakeFace ( const gp_Pln P,
const Standard_Real  UMin,
const Standard_Real  UMax,
const Standard_Real  VMin,
const Standard_Real  VMax 
)
BRepLib_MakeFace::BRepLib_MakeFace ( const gp_Cylinder C,
const Standard_Real  UMin,
const Standard_Real  UMax,
const Standard_Real  VMin,
const Standard_Real  VMax 
)
BRepLib_MakeFace::BRepLib_MakeFace ( const gp_Cone C,
const Standard_Real  UMin,
const Standard_Real  UMax,
const Standard_Real  VMin,
const Standard_Real  VMax 
)
BRepLib_MakeFace::BRepLib_MakeFace ( const gp_Sphere S,
const Standard_Real  UMin,
const Standard_Real  UMax,
const Standard_Real  VMin,
const Standard_Real  VMax 
)
BRepLib_MakeFace::BRepLib_MakeFace ( const gp_Torus C,
const Standard_Real  UMin,
const Standard_Real  UMax,
const Standard_Real  VMin,
const Standard_Real  VMax 
)
BRepLib_MakeFace::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 
)
BRepLib_MakeFace::BRepLib_MakeFace ( const TopoDS_Wire W,
const Standard_Boolean  OnlyPlane = Standard_False 
)
BRepLib_MakeFace::BRepLib_MakeFace ( const gp_Pln P,
const TopoDS_Wire W,
const Standard_Boolean  Inside = Standard_True 
)
BRepLib_MakeFace::BRepLib_MakeFace ( const gp_Cylinder C,
const TopoDS_Wire W,
const Standard_Boolean  Inside = Standard_True 
)
BRepLib_MakeFace::BRepLib_MakeFace ( const gp_Cone C,
const TopoDS_Wire W,
const Standard_Boolean  Inside = Standard_True 
)
BRepLib_MakeFace::BRepLib_MakeFace ( const gp_Sphere S,
const TopoDS_Wire W,
const Standard_Boolean  Inside = Standard_True 
)
BRepLib_MakeFace::BRepLib_MakeFace ( const gp_Torus C,
const TopoDS_Wire W,
const Standard_Boolean  Inside = Standard_True 
)
BRepLib_MakeFace::BRepLib_MakeFace ( const Handle< Geom_Surface > &  S,
const TopoDS_Wire W,
const Standard_Boolean  Inside = Standard_True 
)
BRepLib_MakeFace::BRepLib_MakeFace ( const TopoDS_Face F,
const TopoDS_Wire W 
)

Member Function Documentation

void BRepLib_MakeFace::Add ( const TopoDS_Wire W)
BRepLib_FaceError BRepLib_MakeFace::Error ( ) const
const TopoDS_Face& BRepLib_MakeFace::Face ( ) const
void BRepLib_MakeFace::Init ( const TopoDS_Face F)
void BRepLib_MakeFace::Init ( const Handle< Geom_Surface > &  S,
const Standard_Boolean  Bound,
const Standard_Real  TolDegen 
)
void BRepLib_MakeFace::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 
)
BRepLib_MakeFace::operator TopoDS_Face ( ) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines