Open CASCADE Technology
7.5.0
|
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... | |
Standard_Boolean | IsUsed (const TopoDS_Shape &aGenS) const |
Returns true if the aGenS is used in resulting shape. More... | |
Standard_Boolean | GenIsUsed (const TopoDS_Shape &theS) const |
Returns true if the shape, generated from theS is used in result shape. More... | |
Provides natural constructors to build BRepSweep translated swept Primitives.
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.
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).
Standard_Boolean BRepSweep_Prism::GenIsUsed | ( | const TopoDS_Shape & | theS | ) | const |
Returns true if the shape, generated from theS is used in result shape.
Standard_Boolean BRepSweep_Prism::IsUsed | ( | const TopoDS_Shape & | aGenS | ) | const |
Returns true if the aGenS is used in resulting 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.