Class ShHealOper_CloseContour.
#include <ShHealOper_CloseContour.hxx>

Public Member Functions | |
| Standard_EXPORT | ShHealOper_CloseContour () |
| Standard_EXPORT | ShHealOper_CloseContour (const TopoDS_Shape &theShape) |
| virtual Standard_EXPORT void | Init (const TopoDS_Shape &theShape) |
| Standard_EXPORT Standard_Boolean | Perform (const TopTools_SequenceOfShape &theSeqEdges, const Standard_Boolean theModeVertex=Standard_False, const Standard_Boolean theModeFixGapsCurves=Standard_True) |
| Standard_EXPORT Standard_Boolean | Perform (const TopoDS_Wire &theWire, const Standard_Boolean theModeVertex=Standard_False, const Standard_Boolean theModeFixGapsCurves=Standard_True) |
| void | SetTolerance (const Standard_Real theTolerance) |
| Standard_Real | GetTolerance () |
| void | SetMaxTolerance (const Standard_Real theMaxTolerance) |
| Standard_Real | GetMaxTolerance () |
| void | SetModeVertex (const Standard_Boolean theModeVertex) |
| Standard_Boolean | GetModeVertex () |
| const TopoDS_Shape & | GetResultShape () const |
| Standard_Boolean | GetModifiedShape (const TopoDS_Shape &theOldShape, TopoDS_Shape &theNewShape) const |
| Standard_Boolean | IsDone () const |
| void | SetContext (Handle(ShapeBuild_ReShape)&theContext) |
| Handle (ShapeBuild_ReShape) Context() | |
| Standard_Integer | GetErrorStatus () |
Protected Member Functions | |
| Handle (ShapeBuild_ReShape) myContext | |
Protected Attributes | |
| TopoDS_Shape | myInitShape |
| TopoDS_Shape | myResultShape |
| Standard_Boolean | myDone |
| ShHealOper_Error | myErrorStatus |
Private Member Functions | |
| void | build (Handle(ShapeExtend_WireData)&theSewd) |
| Standard_Boolean | fixGaps (const Handle(ShapeExtend_WireData)&theWire, const TopTools_SequenceOfShape &theCommonFaces) |
| Standard_Boolean | checkOneFace (const Handle(ShapeExtend_WireData)&theSewd, TopTools_SequenceOfShape &theCommonFaces) const |
| void | buildEdge (const TopoDS_Edge &aE1, const TopoDS_Edge &aE2, const TopTools_SequenceOfShape &theCommonFaces) |
| void | updateWire (Handle(ShapeExtend_WireData)&sbwd) |
Private Attributes | |
| Standard_Boolean | myModeVertex |
| Standard_Boolean | myModeFixGapsCurves |
| Standard_Real | myMaxTolerance |
| Standard_Real | myTolerance |
| TopTools_IndexedDataMapOfShapeListOfShape | myMapEdgesFace |
| TopTools_SequenceOfShape | myFreeEdges |
| Standard_EXPORT ShHealOper_CloseContour.ShHealOper_CloseContour | ( | ) |
| ShHealOper_CloseContour::ShHealOper_CloseContour | ( | const TopoDS_Shape & | theShape | ) |
References Init().
| void ShHealOper_CloseContour::Init | ( | const TopoDS_Shape & | theShape | ) | [virtual] |
Reimplemented from ShHealOper_Tool.
References myMapEdgesFace, myMaxTolerance, and myTolerance.
| Standard_Boolean ShHealOper_CloseContour::Perform | ( | const TopTools_SequenceOfShape & | theSeqEdges, |
| const Standard_Boolean | theModeVertex = Standard_False, |
||
| const Standard_Boolean | theModeFixGapsCurves = Standard_True |
||
| ) |
| Standard_Boolean ShHealOper_CloseContour::Perform | ( | const TopoDS_Wire & | theWire, |
| const Standard_Boolean | theModeVertex = Standard_False, |
||
| const Standard_Boolean | theModeFixGapsCurves = Standard_True |
||
| ) |
| void ShHealOper_CloseContour.SetTolerance | ( | const Standard_Real | theTolerance | ) |
References myTolerance.
| Standard_Real ShHealOper_CloseContour.GetTolerance | ( | ) |
References myTolerance.
| void ShHealOper_CloseContour.SetMaxTolerance | ( | const Standard_Real | theMaxTolerance | ) |
References myMaxTolerance.
| Standard_Real ShHealOper_CloseContour.GetMaxTolerance | ( | ) |
References myMaxTolerance.
| void ShHealOper_CloseContour.SetModeVertex | ( | const Standard_Boolean | theModeVertex | ) |
References myModeVertex.
| Standard_Boolean ShHealOper_CloseContour.GetModeVertex | ( | ) |
References myModeVertex.
| void ShHealOper_CloseContour::build | ( | Handle(ShapeExtend_WireData)& | theSewd | ) | [private] |
References checkOneFace(), fixGaps(), ShHealOper_Tool.Handle(), PAL_MESH_030_geometry.i, ShHealOper_Tool.myDone, ShHealOper_Tool.myErrorStatus, myFreeEdges, ShHealOper_Tool.myInitShape, myMaxTolerance, myModeFixGapsCurves, ShHealOper_Tool.myResultShape, myTolerance, ShHealOper_ErrorExecution, and updateWire().
| Standard_Boolean ShHealOper_CloseContour::fixGaps | ( | const Handle(ShapeExtend_WireData)& | theWire, |
| const TopTools_SequenceOfShape & | theCommonFaces | ||
| ) | [private] |
References buildEdge(), ShHealOper_Tool.Handle(), PAL_MESH_030_geometry.i, myMaxTolerance, and myModeVertex.
| Standard_Boolean ShHealOper_CloseContour::checkOneFace | ( | const Handle(ShapeExtend_WireData)& | theSewd, |
| TopTools_SequenceOfShape & | theCommonFaces | ||
| ) | const [private] |
References PAL_MESH_030_geometry.i, GEOM_example.ind, and myMapEdgesFace.
| void ShHealOper_CloseContour::buildEdge | ( | const TopoDS_Edge & | aE1, |
| const TopoDS_Edge & | aE2, | ||
| const TopTools_SequenceOfShape & | theCommonFaces | ||
| ) | [private] |
References ShHealOper_Tool.Handle(), myFreeEdges, GEOM_tube_geom.p1, and GEOM_tube_geom.p2.
| void ShHealOper_CloseContour::updateWire | ( | Handle(ShapeExtend_WireData)& | sbwd | ) | [private] |
References PAL_MESH_030_geometry.i, myFreeEdges, and GEOM_moteur.S.
| const TopoDS_Shape& ShHealOper_Tool.GetResultShape | ( | ) | const [inherited] |
References ShHealOper_Tool.myResultShape.
| Standard_Boolean ShHealOper_Tool.GetModifiedShape | ( | const TopoDS_Shape & | theOldShape, |
| TopoDS_Shape & | theNewShape | ||
| ) | const [inherited] |
| Standard_Boolean ShHealOper_Tool.IsDone | ( | ) | const [inherited] |
References ShHealOper_Tool.myDone.
| void ShHealOper_Tool.SetContext | ( | Handle(ShapeBuild_ReShape)& | theContext | ) | [inherited] |
| ShHealOper_Tool.Handle | ( | ShapeBuild_ReShape | ) | [inherited] |
| ShHealOper_Tool.Handle | ( | ShapeBuild_ReShape | ) | [protected, inherited] |
| Standard_Integer ShHealOper_Tool.GetErrorStatus | ( | ) | [inherited] |
References ShHealOper_Tool.myErrorStatus.
Standard_Boolean ShHealOper_CloseContour.myModeVertex [private] |
Standard_Boolean ShHealOper_CloseContour.myModeFixGapsCurves [private] |
Standard_Real ShHealOper_CloseContour.myMaxTolerance [private] |
Standard_Real ShHealOper_CloseContour.myTolerance [private] |
TopTools_IndexedDataMapOfShapeListOfShape ShHealOper_CloseContour.myMapEdgesFace [private] |
TopTools_SequenceOfShape ShHealOper_CloseContour.myFreeEdges [private] |
TopoDS_Shape ShHealOper_Tool.myInitShape [protected, inherited] |
TopoDS_Shape ShHealOper_Tool.myResultShape [protected, inherited] |
Standard_Boolean ShHealOper_Tool.myDone [protected, inherited] |
ShHealOper_Error ShHealOper_Tool.myErrorStatus [protected, inherited] |