OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKPrim
BRepPrim


BRepPrim_Builder Class Reference

implements the abstract Builder with the BRep Builder

#include <BRepPrim_Builder.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepPrim_Builder ()
 Creates an empty, useless Builder. Necesseray for
compilation.
.
Standard_EXPORT BRepPrim_Builder (const BRep_Builder &B)
 Creates from a Builder.
.
const BRep_Builder & Builder () const
Standard_EXPORT void MakeShell (TopoDS_Shell &S) const
 Make a empty Shell.
.
Standard_EXPORT void MakeFace (TopoDS_Face &F, const gp_Pln &P) const
 Returns in <f> a Face built with the plane
equation

. Used by all primitives.
.

Standard_EXPORT void MakeWire (TopoDS_Wire &W) const
 Returns in <w> an empty Wire.
.
Standard_EXPORT void MakeDegeneratedEdge (TopoDS_Edge &E) const
 Returns in <e> a degenerated edge.
.
Standard_EXPORT void MakeEdge (TopoDS_Edge &E, const gp_Lin &L) const
 Returns in <e> an Edge built with the line
equation <l>.
.
Standard_EXPORT void MakeEdge (TopoDS_Edge &E, const gp_Circ &C) const
 Returns in <e> an Edge built with the circle
equation <c>.
.
Standard_EXPORT void SetPCurve (TopoDS_Edge &E, const TopoDS_Face &F, const gp_Lin2d &L) const
 Sets the line <l> to be the curve representing the
edge <e> in the parametric space of the surface of
<f>.
.
Standard_EXPORT void SetPCurve (TopoDS_Edge &E, const TopoDS_Face &F, const gp_Lin2d &L1, const gp_Lin2d &L2) const
 Sets the lines <L1,L2> to be the curves
representing the edge <e> in the parametric space
of the closed surface of <f>.
.
Standard_EXPORT void SetPCurve (TopoDS_Edge &E, const TopoDS_Face &F, const gp_Circ2d &C) const
 Sets the circle <c> to be the curve representing
the edge <e> in the parametric space of the
surface of <f>.
.
Standard_EXPORT void MakeVertex (TopoDS_Vertex &V, const gp_Pnt &P) const
 Returns in <v> a Vertex built with the point

.
.

Standard_EXPORT void ReverseFace (TopoDS_Face &F) const
 Reverses the Face <f>.
.
Standard_EXPORT void AddEdgeVertex (TopoDS_Edge &E, const TopoDS_Vertex &V, const Standard_Real P, const Standard_Boolean direct) const
 Adds the Vertex <v> in the Edge <e>.

is the
parameter of the vertex on the edge. If direct
is False the Vertex is reversed.
.

Standard_EXPORT void AddEdgeVertex (TopoDS_Edge &E, const TopoDS_Vertex &V, const Standard_Real P1, const Standard_Real P2) const
 Adds the Vertex <v> in the Edge <e>. <P1,P2>
are the parameters of the vertex on the closed
edge.
.
Standard_EXPORT void SetParameters (TopoDS_Edge &E, const TopoDS_Vertex &V, const Standard_Real P1, const Standard_Real P2) const
 <P1,P2> are the parameters of the vertex on the
edge. The edge is a closed curve.

Standard_EXPORT void AddWireEdge (TopoDS_Wire &W, const TopoDS_Edge &E, const Standard_Boolean direct) const
 Adds the Edge <e> in the Wire <w>, if direct is
False the Edge is reversed.
.
Standard_EXPORT void AddFaceWire (TopoDS_Face &F, const TopoDS_Wire &W) const
 Adds the Wire <w> in the Face <f>.
.
Standard_EXPORT void AddShellFace (TopoDS_Shell &Sh, const TopoDS_Face &F) const
 Adds the Face <f> in the Shell <sh>.
.
Standard_EXPORT void CompleteEdge (TopoDS_Edge &E) const
 This is called once an edge is completed. It gives
the opportunity to perform any post treatment.
.
Standard_EXPORT void CompleteWire (TopoDS_Wire &W) const
 This is called once a wire is completed. It gives
the opportunity to perform any post treatment.
.
Standard_EXPORT void CompleteFace (TopoDS_Face &F) const
 This is called once a face is completed. It gives
the opportunity to perform any post treatment.
.
Standard_EXPORT void CompleteShell (TopoDS_Shell &S) const
 This is called once a shell is completed. It gives
the opportunity to perform any post treatment.
.

Private Attributes

BRep_Builder myBuilder


Constructor & Destructor Documentation

Standard_EXPORT BRepPrim_Builder::BRepPrim_Builder  ) 
 

Standard_EXPORT BRepPrim_Builder::BRepPrim_Builder const BRep_Builder &  B  ) 
 


Member Function Documentation

Standard_EXPORT void BRepPrim_Builder::AddEdgeVertex TopoDS_Edge &  E,
const TopoDS_Vertex &  V,
const Standard_Real  P1,
const Standard_Real  P2
const
 

Standard_EXPORT void BRepPrim_Builder::AddEdgeVertex TopoDS_Edge &  E,
const TopoDS_Vertex &  V,
const Standard_Real  P,
const Standard_Boolean  direct
const
 

Standard_EXPORT void BRepPrim_Builder::AddFaceWire TopoDS_Face &  F,
const TopoDS_Wire &  W
const
 

Standard_EXPORT void BRepPrim_Builder::AddShellFace TopoDS_Shell &  Sh,
const TopoDS_Face &  F
const
 

Standard_EXPORT void BRepPrim_Builder::AddWireEdge TopoDS_Wire &  W,
const TopoDS_Edge &  E,
const Standard_Boolean  direct
const
 

const BRep_Builder & BRepPrim_Builder::Builder  )  const [inline]
 

Standard_EXPORT void BRepPrim_Builder::CompleteEdge TopoDS_Edge &  E  )  const
 

Standard_EXPORT void BRepPrim_Builder::CompleteFace TopoDS_Face &  F  )  const
 

Standard_EXPORT void BRepPrim_Builder::CompleteShell TopoDS_Shell &  S  )  const
 

Standard_EXPORT void BRepPrim_Builder::CompleteWire TopoDS_Wire &  W  )  const
 

Standard_EXPORT void BRepPrim_Builder::MakeDegeneratedEdge TopoDS_Edge &  E  )  const
 

Standard_EXPORT void BRepPrim_Builder::MakeEdge TopoDS_Edge &  E,
const gp_Circ &  C
const
 

Standard_EXPORT void BRepPrim_Builder::MakeEdge TopoDS_Edge &  E,
const gp_Lin &  L
const
 

Standard_EXPORT void BRepPrim_Builder::MakeFace TopoDS_Face &  F,
const gp_Pln &  P
const
 

Standard_EXPORT void BRepPrim_Builder::MakeShell TopoDS_Shell &  S  )  const
 

Standard_EXPORT void BRepPrim_Builder::MakeVertex TopoDS_Vertex &  V,
const gp_Pnt &  P
const
 

Standard_EXPORT void BRepPrim_Builder::MakeWire TopoDS_Wire &  W  )  const
 

void BRepPrim_Builder::operator delete void *  anAddress  )  [inline]
 

void* BRepPrim_Builder::operator new size_t  size  )  [inline]
 

void* BRepPrim_Builder::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT void BRepPrim_Builder::ReverseFace TopoDS_Face &  F  )  const
 

Standard_EXPORT void BRepPrim_Builder::SetParameters TopoDS_Edge &  E,
const TopoDS_Vertex &  V,
const Standard_Real  P1,
const Standard_Real  P2
const
 

Standard_EXPORT void BRepPrim_Builder::SetPCurve TopoDS_Edge &  E,
const TopoDS_Face &  F,
const gp_Circ2d &  C
const
 

Standard_EXPORT void BRepPrim_Builder::SetPCurve TopoDS_Edge &  E,
const TopoDS_Face &  F,
const gp_Lin2d &  L1,
const gp_Lin2d &  L2
const
 

Standard_EXPORT void BRepPrim_Builder::SetPCurve TopoDS_Edge &  E,
const TopoDS_Face &  F,
const gp_Lin2d &  L
const
 


Field Documentation

BRep_Builder BRepPrim_Builder::myBuilder [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 13:41:29 2008 for OpenCASCADE by  doxygen 1.4.1