The algorithm to build solids from set of faces
#include <GEOMAlgo_BuilderSolid.hxx>

Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| Standard_EXPORT | GEOMAlgo_BuilderSolid () |
| Empty constructor | |
| virtual Standard_EXPORT | ~GEOMAlgo_BuilderSolid () |
| virtual Standard_EXPORT void | Perform () |
| Performs the algorithm | |
| Standard_EXPORT void | SetContext (const IntTools_Context &theContext) |
| Sets cashed geometrical tools | |
| Standard_EXPORT void | SetShapes (const TopTools_ListOfShape &theLS) |
| Sets edges/faces to process | |
| Standard_EXPORT const TopTools_ListOfShape & | Shapes () const |
| Returns edges/faces to process | |
| Standard_EXPORT const TopTools_ListOfShape & | Loops () const |
| Returns wires/shells that have been built | |
| Standard_EXPORT const TopTools_ListOfShape & | Areas () const |
| Returns faces/solids that have been built | |
| Standard_EXPORT Standard_Integer | ErrorStatus () const |
| Standard_EXPORT Standard_Integer | WarningStatus () const |
| Standard_EXPORT void | ComputeInternalShapes (const Standard_Boolean theFlag) |
Protected Member Functions | |
| virtual Standard_EXPORT void | PerformShapesToAvoid () |
| Collect the faces that a) are internal b) are the same and have different orientation | |
| virtual Standard_EXPORT void | PerformLoops () |
| Build draft shells a)myLoops - draft shells that consist of boundary faces b)myLoopsInternal - draft shells that contains inner faces | |
| virtual Standard_EXPORT void | PerformAreas () |
| Build draft solids that contains boundary faces | |
| virtual Standard_EXPORT void | PerformInternalShapes () |
| Build finalized solids with internal shells | |
| virtual Standard_EXPORT void | CheckData () |
| virtual Standard_EXPORT void | CheckResult () |
Protected Attributes | |
| TopTools_ListOfShape | myShapes |
| TopTools_ListOfShape | myLoops |
| TopTools_ListOfShape | myLoopsInternal |
| TopTools_MapOfOrientedShape | myShapesToAvoid |
| TopTools_ListOfShape | myAreas |
| IntTools_PContext | myContext |
| Standard_Integer | myErrorStatus |
| Standard_Integer | myWarningStatus |
| Standard_Boolean | myComputeInternalShapes |
| GEOMAlgo_BuilderSolid::GEOMAlgo_BuilderSolid | ( | ) |
| GEOMAlgo_BuilderSolid::~GEOMAlgo_BuilderSolid | ( | ) | [virtual] |
| void* GEOMAlgo_BuilderSolid.operator new | ( | size_t | , |
| void * | anAddress | ||
| ) |
Reimplemented from GEOMAlgo_BuilderArea.
| void* GEOMAlgo_BuilderSolid.operator new | ( | size_t | size | ) |
Reimplemented from GEOMAlgo_BuilderArea.
| void GEOMAlgo_BuilderSolid.operator delete | ( | void * | anAddress | ) |
Reimplemented from GEOMAlgo_BuilderArea.
| void GEOMAlgo_BuilderSolid::Perform | ( | ) | [virtual] |
| void GEOMAlgo_BuilderSolid::PerformShapesToAvoid | ( | ) | [protected, virtual] |
Reimplemented from GEOMAlgo_BuilderArea.
References PAL_MESH_030_geometry.i, GEOMAlgo_BuilderArea.myShapes, and GEOMAlgo_BuilderArea.myShapesToAvoid.
| void GEOMAlgo_BuilderSolid::PerformLoops | ( | ) | [protected, virtual] |
Reimplemented from GEOMAlgo_BuilderArea.
References NMTTools_ListOfCoupleOfShape.Append(), NMTTools_ListOfCoupleOfShape.Extent(), NMTTools_ListOfCoupleOfShape.First(), GEOMAlgo_Tools3D.GetEdgeOff(), GEOMAlgo_Tools3D.GetFaceOff(), IsClosedShell(), GEOMAlgo_Algo.myComputeInternalShapes, GEOMAlgo_Algo.myErrorStatus, GEOMAlgo_BuilderArea.myLoops, GEOMAlgo_BuilderArea.myLoopsInternal, GEOMAlgo_BuilderArea.myShapes, GEOMAlgo_BuilderArea.myShapesToAvoid, RefineShell(), NMTTools_CoupleOfShape.SetShape1(), NMTTools_CoupleOfShape.SetShape2(), and NMTTools_CoupleOfShape.Shape2().
| void GEOMAlgo_BuilderSolid::PerformAreas | ( | ) | [protected, virtual] |
Reimplemented from GEOMAlgo_BuilderArea.
References IsGrowthShell(), IsHole(), IsInside(), MapShapes(), GEOMAlgo_BuilderArea.myAreas, GEOMAlgo_BuilderArea.myContext, GEOMAlgo_Algo.myErrorStatus, and GEOMAlgo_BuilderArea.myLoops.
| void GEOMAlgo_BuilderSolid::PerformInternalShapes | ( | ) | [protected, virtual] |
| void GEOMAlgo_BuilderArea::SetContext | ( | const IntTools_Context & | theContext | ) | [inherited] |
References GEOMAlgo_BuilderArea.myContext.
| void GEOMAlgo_BuilderArea::SetShapes | ( | const TopTools_ListOfShape & | theLS | ) | [inherited] |
References GEOMAlgo_BuilderArea.myShapes.
| const TopTools_ListOfShape & GEOMAlgo_BuilderArea::Shapes | ( | ) | const [inherited] |
References GEOMAlgo_BuilderArea.myShapes.
| const TopTools_ListOfShape & GEOMAlgo_BuilderArea::Loops | ( | ) | const [inherited] |
References GEOMAlgo_BuilderArea.myLoops.
| const TopTools_ListOfShape & GEOMAlgo_BuilderArea::Areas | ( | ) | const [inherited] |
References GEOMAlgo_BuilderArea.myAreas.
| Standard_Integer GEOMAlgo_Algo::ErrorStatus | ( | ) | const [inherited] |
References GEOMAlgo_Algo.myErrorStatus.
| Standard_Integer GEOMAlgo_Algo::WarningStatus | ( | ) | const [inherited] |
References GEOMAlgo_Algo.myWarningStatus.
| void GEOMAlgo_Algo::ComputeInternalShapes | ( | const Standard_Boolean | theFlag | ) | [inherited] |
References GEOMAlgo_Algo.myComputeInternalShapes.
| void GEOMAlgo_Algo::CheckData | ( | ) | [protected, virtual, inherited] |
Reimplemented in GEOMAlgo_FinderShapeOn, GEOMAlgo_FinderShapeOn1, GEOMAlgo_FinderShapeOn2, GEOMAlgo_FinderShapeOnQuad, GEOMAlgo_Gluer, GEOMAlgo_Gluer2, GEOMAlgo_ShapeInfoFiller, and GEOMAlgo_WESScaler.
References GEOMAlgo_Algo.myErrorStatus.
| void GEOMAlgo_Algo::CheckResult | ( | ) | [protected, virtual, inherited] |
Reimplemented in GEOMAlgo_Gluer.
References GEOMAlgo_Algo.myErrorStatus.
TopTools_ListOfShape GEOMAlgo_BuilderArea.myShapes [protected, inherited] |
TopTools_ListOfShape GEOMAlgo_BuilderArea.myLoops [protected, inherited] |
TopTools_ListOfShape GEOMAlgo_BuilderArea.myLoopsInternal [protected, inherited] |
TopTools_MapOfOrientedShape GEOMAlgo_BuilderArea.myShapesToAvoid [protected, inherited] |
TopTools_ListOfShape GEOMAlgo_BuilderArea.myAreas [protected, inherited] |
IntTools_PContext GEOMAlgo_BuilderArea.myContext [protected, inherited] |
Standard_Integer GEOMAlgo_Algo.myErrorStatus [protected, inherited] |
Standard_Integer GEOMAlgo_Algo.myWarningStatus [protected, inherited] |
Standard_Boolean GEOMAlgo_Algo.myComputeInternalShapes [protected, inherited] |