Open CASCADE Technology  7.3.1.dev
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...
 
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...
 

Detailed Description

Provides natural constructors to build BRepSweep translated swept Primitives.

Constructor & Destructor Documentation

◆ BRepSweep_Prism() [1/2]

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() [2/2]

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

◆ FirstShape() [1/2]

TopoDS_Shape BRepSweep_Prism::FirstShape ( )

Returns the TopoDS Shape of the bottom of the prism.

◆ FirstShape() [2/2]

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

◆ GenIsUsed()

Standard_Boolean BRepSweep_Prism::GenIsUsed ( const TopoDS_Shape theS) const

Returns true if the shape, generated from theS is used in result shape.

◆ IsUsed()

Standard_Boolean BRepSweep_Prism::IsUsed ( const TopoDS_Shape aGenS) const

Returns true if the aGenS is used in resulting shape.

◆ LastShape() [1/2]

TopoDS_Shape BRepSweep_Prism::LastShape ( )

Returns the TopoDS Shape of the top of the prism.

◆ LastShape() [2/2]

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

◆ Shape() [1/2]

TopoDS_Shape BRepSweep_Prism::Shape ( )

Returns the TopoDS Shape attached to the prism.

◆ Shape() [2/2]

TopoDS_Shape BRepSweep_Prism::Shape ( const TopoDS_Shape aGenS)

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

◆ Vec()

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: