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

Describes functions to build linear swept topologies, called prisms.
A prism is defined by:
More...

#include <BRepPrimAPI_MakePrism.hxx>

Inheritance diagram for BRepPrimAPI_MakePrism:
Inheritance graph
[legend]

Public Member Functions

DEFINE_STANDARD_ALLOC BRepPrimAPI_MakePrism (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

 BRepPrimAPI_MakePrism (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 Inf is true the prism is infinite, if Inf is false
the prism is semi-infinite (in the direction D). If C
is true S is copied (for semi-infinite prisms).
If Canonize is true then generated surfaces
are attempted to be canonized in simple types

const BRepSweep_PrismPrism () const
 Returns the internal sweeping algorithm.


virtual void Build ()
 Builds the resulting shape (redefined from MakeShape).

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

TopoDS_Shape LastShape ()
 Returns the TopoDS Shape of the top of the prism.
In the case of a finite prism, FirstShape returns the
basis of the prism, in other words, S if Copy is false;
otherwise, the copy of S belonging to the prism.
LastShape returns the copy of S translated by V at the
time of construction.

virtual const
TopTools_ListOfShape
Generated (const TopoDS_Shape &S)
 Returns ListOfShape from TopTools.

TopoDS_Shape FirstShape (const TopoDS_Shape &theShape)
 Returns the TopoDS Shape of the bottom of the prism.
generated with theShape (subShape of the generating shape).

TopoDS_Shape LastShape (const TopoDS_Shape &theShape)
 Returns the TopoDS Shape of the top of the prism.
generated with theShape (subShape of the generating shape).


Detailed Description


Constructor & Destructor Documentation


Member Function Documentation

virtual void BRepPrimAPI_MakePrism::Build ( ) [virtual]

Reimplemented from BRepBuilderAPI_MakeShape.

Implements BRepPrimAPI_MakeSweep.

Reimplemented from BRepBuilderAPI_MakeShape.

Implements BRepPrimAPI_MakeSweep.


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