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

ModelingAlgorithms
TKPrim
BRepSweep


BRepSweep_Prism Class Reference

Provides natural constructors to build BRepSweep
translated swept Primitives.
.

#include <BRepSweep_Prism.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepSweep_Prism (const TopoDS_Shape &S, const gp_Vec &V, const Standard_Boolean Copy=Standard_False, const Standard_Boolean Canonize=Standard_True)
 Builds the prism of base S and vector V. If C is true,
S is copied. If Canonize is true then generated surfaces
are attempted to be canonized in simple types
.
Standard_EXPORT BRepSweep_Prism (const TopoDS_Shape &S, const gp_Dir &D, const Standard_Boolean Inf=Standard_True, const Standard_Boolean Copy=Standard_False, const Standard_Boolean Canonize=Standard_True)
 Builds a semi-infinite or an infinite prism of base S.
If Copy is true S is copied. If Inf is true the prism
is infinite, if Inf is false the prism is infinite in
the direction D. If Canonize is true then generated surfaces
are attempted to be canonized in simple types
.
Standard_EXPORT TopoDS_Shape Shape ()
 Returns the TopoDS Shape attached to the prism.
.
Standard_EXPORT TopoDS_Shape Shape (const TopoDS_Shape &aGenS)
 Returns the TopoDS Shape generated with aGenS
(subShape of the generating shape).
.
Standard_EXPORT TopoDS_Shape FirstShape ()
 Returns the TopoDS Shape of the bottom of the prism.
.
Standard_EXPORT TopoDS_Shape FirstShape (const TopoDS_Shape &aGenS)
 Returns the TopoDS Shape of the bottom of the prism.
generated with aGenS (subShape of the generating
shape).
.
Standard_EXPORT TopoDS_Shape LastShape ()
 Returns the TopoDS Shape of the top of the prism.
.
Standard_EXPORT TopoDS_Shape LastShape (const TopoDS_Shape &aGenS)
 Returns the TopoDS Shape of the top of the prism.
generated with aGenS (subShape of the generating
shape).
.
Standard_EXPORT gp_Vec Vec () const
 Returns the Vector of the Prism, if it is an infinite
prism the Vec is unitar.
.

Private Member Functions

Standard_EXPORT Sweep_NumShape NumShape () const
 used to build the NumShape of a limited prism.

Standard_EXPORT Sweep_NumShape NumShape (const Standard_Boolean Inf) const
 used to build the NumShape of an infinite prism.

Standard_EXPORT TopLoc_Location Location (const gp_Vec &V) const
 used to build the Location.


Private Attributes

BRepSweep_Translation myTranslation


Constructor & Destructor Documentation

Standard_EXPORT BRepSweep_Prism::BRepSweep_Prism const TopoDS_Shape &  S,
const gp_Vec &  V,
const Standard_Boolean  Copy = Standard_False,
const Standard_Boolean  Canonize = Standard_True
 

Standard_EXPORT BRepSweep_Prism::BRepSweep_Prism const TopoDS_Shape &  S,
const gp_Dir &  D,
const Standard_Boolean  Inf = Standard_True,
const Standard_Boolean  Copy = Standard_False,
const Standard_Boolean  Canonize = Standard_True
 


Member Function Documentation

Standard_EXPORT TopoDS_Shape BRepSweep_Prism::FirstShape const TopoDS_Shape &  aGenS  ) 
 

Standard_EXPORT TopoDS_Shape BRepSweep_Prism::FirstShape  ) 
 

Standard_EXPORT TopoDS_Shape BRepSweep_Prism::LastShape const TopoDS_Shape &  aGenS  ) 
 

Standard_EXPORT TopoDS_Shape BRepSweep_Prism::LastShape  ) 
 

Standard_EXPORT TopLoc_Location BRepSweep_Prism::Location const gp_Vec &  V  )  const [private]
 

Standard_EXPORT Sweep_NumShape BRepSweep_Prism::NumShape const Standard_Boolean  Inf  )  const [private]
 

Standard_EXPORT Sweep_NumShape BRepSweep_Prism::NumShape  )  const [private]
 

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

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

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

Standard_EXPORT TopoDS_Shape BRepSweep_Prism::Shape const TopoDS_Shape &  aGenS  ) 
 

Standard_EXPORT TopoDS_Shape BRepSweep_Prism::Shape  ) 
 

Standard_EXPORT gp_Vec BRepSweep_Prism::Vec  )  const
 


Field Documentation

BRepSweep_Translation BRepSweep_Prism::myTranslation [private]
 


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