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

Provides natural constructors to build BRepSweep
translated swept Primitives.

#include <BRepSweep_Prism.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC 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

 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

TopoDS_Shape Shape ()
 Returns the TopoDS Shape attached to the prism.

TopoDS_Shape Shape (const TopoDS_Shape &aGenS)
 Returns the TopoDS Shape generated with aGenS
(subShape of the generating shape).

TopoDS_Shape FirstShape ()
 Returns the TopoDS Shape of the bottom of the prism.

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).

TopoDS_Shape LastShape ()
 Returns the TopoDS Shape of the top of the prism.

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).

gp_Vec Vec () const
 Returns the Vector of the Prism, if it is an infinite
prism the Vec is unitar.


Constructor & Destructor Documentation


Member Function Documentation


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