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

ModelingAlgorithms
TKBool
BRepFill


BRepFill_Pipe Class Reference

Create a shape by sweeping a shape (the profile)
along a wire (the spine).

For each edge or vertex from the spine the user
may ask for the shape generated from each subshape
of the profile.
.

#include <BRepFill_Pipe.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepFill_Pipe ()
Standard_EXPORT BRepFill_Pipe (const TopoDS_Wire &Spine, const TopoDS_Shape &Profile, const Standard_Boolean GeneratePartCase=Standard_False)
Standard_EXPORT void Perform (const TopoDS_Wire &Spine, const TopoDS_Shape &Profile, const Standard_Boolean GeneratePartCase=Standard_False)
Standard_EXPORT const TopoDS_Shape & Spine () const
Standard_EXPORT const TopoDS_Shape & Profile () const
Standard_EXPORT const TopoDS_Shape & Shape () const
Standard_EXPORT const TopoDS_Shape & FirstShape () const
Standard_EXPORT const TopoDS_Shape & LastShape () const
Standard_EXPORT TopoDS_Face Face (const TopoDS_Edge &ESpine, const TopoDS_Edge &EProfile)
 Returns the face created from an edge of the spine
and an edge of the profile.
//! if the edges are not in the spine or the profile
.
Standard_EXPORT TopoDS_Edge Edge (const TopoDS_Edge &ESpine, const TopoDS_Vertex &VProfile)
 Returns the edge created from an edge of the spine
and a vertex of the profile.
//! if the edge or the vertex are not in the spine or
the profile.
.
Standard_EXPORT TopoDS_Shape Section (const TopoDS_Vertex &VSpine) const
 Returns the shape created from the profile at the
position of the vertex VSpine.
//! if the vertex is not in the Spine
.
Standard_EXPORT TopoDS_Wire PipeLine (const gp_Pnt &Point) const
 Create a Wire by sweeping the Point along the <spine>
//! if the <spine> is undefined
.

Private Member Functions

Standard_EXPORT TopoDS_Shape MakeShape (const TopoDS_Shape &S, const TopoDS_Shape &FirstShape, const TopoDS_Shape &LastShape)
 Auxiliary recursive method used to build the
result.
.
Standard_EXPORT Standard_Integer FindEdge (const TopoDS_Shape &S, const TopoDS_Edge &E, Standard_Integer &Init) const
 Auxiliary recursive method used to find the edge's index
.
Standard_EXPORT Standard_Integer FindVertex (const TopoDS_Shape &S, const TopoDS_Vertex &V, Standard_Integer &Init) const
Standard_EXPORT void DefineRealSegmax ()

Private Attributes

TopoDS_Wire mySpine
TopoDS_Shape myProfile
TopoDS_Shape myShape
gp_Trsf myTrsf
Handle_BRepFill_LocationLaw myLoc
Handle_TopTools_HArray2OfShape mySections
Handle_TopTools_HArray2OfShape myFaces
Handle_TopTools_HArray2OfShape myEdges
TopoDS_Shape myFirst
TopoDS_Shape myLast
Standard_Integer myDegmax
Standard_Integer mySegmax


Constructor & Destructor Documentation

Standard_EXPORT BRepFill_Pipe::BRepFill_Pipe  ) 
 

Standard_EXPORT BRepFill_Pipe::BRepFill_Pipe const TopoDS_Wire &  Spine,
const TopoDS_Shape &  Profile,
const Standard_Boolean  GeneratePartCase = Standard_False
 


Member Function Documentation

Standard_EXPORT void BRepFill_Pipe::DefineRealSegmax  )  [private]
 

Standard_EXPORT TopoDS_Edge BRepFill_Pipe::Edge const TopoDS_Edge &  ESpine,
const TopoDS_Vertex &  VProfile
 

Standard_EXPORT TopoDS_Face BRepFill_Pipe::Face const TopoDS_Edge &  ESpine,
const TopoDS_Edge &  EProfile
 

Standard_EXPORT Standard_Integer BRepFill_Pipe::FindEdge const TopoDS_Shape &  S,
const TopoDS_Edge &  E,
Standard_Integer &  Init
const [private]
 

Standard_EXPORT Standard_Integer BRepFill_Pipe::FindVertex const TopoDS_Shape &  S,
const TopoDS_Vertex &  V,
Standard_Integer &  Init
const [private]
 

Standard_EXPORT const TopoDS_Shape& BRepFill_Pipe::FirstShape  )  const
 

Standard_EXPORT const TopoDS_Shape& BRepFill_Pipe::LastShape  )  const
 

Standard_EXPORT TopoDS_Shape BRepFill_Pipe::MakeShape const TopoDS_Shape &  S,
const TopoDS_Shape &  FirstShape,
const TopoDS_Shape &  LastShape
[private]
 

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

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

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

Standard_EXPORT void BRepFill_Pipe::Perform const TopoDS_Wire &  Spine,
const TopoDS_Shape &  Profile,
const Standard_Boolean  GeneratePartCase = Standard_False
 

Standard_EXPORT TopoDS_Wire BRepFill_Pipe::PipeLine const gp_Pnt &  Point  )  const
 

Standard_EXPORT const TopoDS_Shape& BRepFill_Pipe::Profile  )  const
 

Standard_EXPORT TopoDS_Shape BRepFill_Pipe::Section const TopoDS_Vertex &  VSpine  )  const
 

Standard_EXPORT const TopoDS_Shape& BRepFill_Pipe::Shape  )  const
 

Standard_EXPORT const TopoDS_Shape& BRepFill_Pipe::Spine  )  const
 


Field Documentation

Standard_Integer BRepFill_Pipe::myDegmax [private]
 

Handle_TopTools_HArray2OfShape BRepFill_Pipe::myEdges [private]
 

Handle_TopTools_HArray2OfShape BRepFill_Pipe::myFaces [private]
 

TopoDS_Shape BRepFill_Pipe::myFirst [private]
 

TopoDS_Shape BRepFill_Pipe::myLast [private]
 

Handle_BRepFill_LocationLaw BRepFill_Pipe::myLoc [private]
 

TopoDS_Shape BRepFill_Pipe::myProfile [private]
 

Handle_TopTools_HArray2OfShape BRepFill_Pipe::mySections [private]
 

Standard_Integer BRepFill_Pipe::mySegmax [private]
 

TopoDS_Shape BRepFill_Pipe::myShape [private]
 

TopoDS_Wire BRepFill_Pipe::mySpine [private]
 

gp_Trsf BRepFill_Pipe::myTrsf [private]
 


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