Open CASCADE Technology  6.9.1
Public Member Functions
BRepSweep_Prism Class Reference

Provides natural constructors to build BRepSweep translated swept Primitives. More...

#include <BRepSweep_Prism.hxx>

Public Member Functions

 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. More...
 
 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. More...
 
TopoDS_Shape Shape ()
 Returns the TopoDS Shape attached to the prism. More...
 
TopoDS_Shape Shape (const TopoDS_Shape &aGenS)
 Returns the TopoDS Shape generated with aGenS (subShape of the generating shape). More...
 
TopoDS_Shape FirstShape ()
 Returns the TopoDS Shape of the bottom of the prism. More...
 
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). More...
 
TopoDS_Shape LastShape ()
 Returns the TopoDS Shape of the top of the prism. More...
 
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). More...
 
gp_Vec Vec () const
 Returns the Vector of the Prism, if it is an infinite prism the Vec is unitar. More...
 

Detailed Description

Provides natural constructors to build BRepSweep translated swept Primitives.

Constructor & Destructor Documentation

BRepSweep_Prism::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::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.

Member Function Documentation

TopoDS_Shape BRepSweep_Prism::FirstShape ( )

Returns the TopoDS Shape of the bottom of the prism.

TopoDS_Shape BRepSweep_Prism::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 BRepSweep_Prism::LastShape ( )

Returns the TopoDS Shape of the top of the prism.

TopoDS_Shape BRepSweep_Prism::LastShape ( const TopoDS_Shape aGenS)

Returns the TopoDS Shape of the top of the prism. generated with aGenS (subShape of the generating shape).

TopoDS_Shape BRepSweep_Prism::Shape ( )

Returns the TopoDS Shape attached to the prism.

TopoDS_Shape BRepSweep_Prism::Shape ( const TopoDS_Shape aGenS)

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

gp_Vec BRepSweep_Prism::Vec ( ) const

Returns the Vector of the Prism, if it is an infinite prism the Vec is unitar.


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