Auxiliary tools for Algorithms
#include <GEOMAlgo_Tools3D.hxx>
Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
Static Public Member Functions | |
| static Standard_EXPORT Standard_Boolean | IsSplitToReverse (const TopoDS_Shape &theSplit, const TopoDS_Shape &theShape, IntTools_Context &theContext) |
| Returns True if the shape theSplit has opposite direction than theShape theContext - cashed geometrical tools | |
| static Standard_EXPORT Standard_Boolean | IsSplitToReverse (const TopoDS_Face &theSplit, const TopoDS_Face &theShape, IntTools_Context &theContext) |
| Returns True if normal direction of the face theShape is not the same as for the face theSplit theContext - cashed geometrical tools | |
| static Standard_EXPORT Standard_Boolean | IsSplitToReverse (const TopoDS_Edge &theEdge, const TopoDS_Edge &theSplit, IntTools_Context &theContext) |
| Returns True if tangent direction of the edge theEdge is not the same as for the edge theSplit theContext - cashed geometrical tools | |
| static Standard_EXPORT Standard_Integer | Sense (const TopoDS_Face &theF1, const TopoDS_Face &theF2) |
| For the couple of faces theF1, theF2 computes sense value Returns 0 if the faces are not sensible Returns 1 if the faces have same sense Returns 2 if the faces have opposite sense | |
| static Standard_EXPORT void | CopyFace (const TopoDS_Face &theF1, TopoDS_Face &theF2) |
| Makes new face theF2 from surface and wires of the face theF1 | |
| static Standard_EXPORT void | MakeContainer (const TopAbs_ShapeEnum theType, TopoDS_Shape &theShape) |
| Makes empty shape theShape of the type theType | |
| static Standard_EXPORT void | MakeConnexityBlock (const TopTools_ListOfShape &theLS, const TopTools_IndexedMapOfShape &theMapAvoid, TopTools_ListOfShape &theLSCB) |
| For the list of faces theLS build block theLSCB in terms of connexity by edges theMapAvoid - set of edges to avoid for the treatment | |
| static Standard_EXPORT TopAbs_State | ComputeStateByOnePoint (const TopoDS_Shape &theShape, const TopoDS_Solid &theSolid, const Standard_Real theTol, IntTools_Context &theContext) |
| Computes the 3-D state of the shape theShape toward solid theSolid. | |
| static Standard_EXPORT TopAbs_State | ComputeState (const gp_Pnt &thePoint, const TopoDS_Solid &theSolid, const Standard_Real theTol, IntTools_Context &theContext) |
| Computes the 3-D state of the point thePoint toward solid theSolid. | |
| static Standard_EXPORT TopAbs_State | ComputeState (const TopoDS_Vertex &theVertex, const TopoDS_Solid &theSolid, const Standard_Real theTol, IntTools_Context &theContext) |
| Computes the 3-D state of the vertex theVertex toward solid theSolid. | |
| static Standard_EXPORT TopAbs_State | ComputeState (const TopoDS_Edge &theEdge, const TopoDS_Solid &theSolid, const Standard_Real theTol, IntTools_Context &theContext) |
| Computes the 3-D state of the edge theEdge toward solid theSolid. | |
| static Standard_EXPORT TopAbs_State | ComputeState (const TopoDS_Face &theFace, const TopoDS_Solid &theSolid, const Standard_Real theTol, const TopTools_IndexedMapOfShape &theBounds, IntTools_Context &theContext) |
| Computes the 3-D state of the face theFace toward solid theSolid. | |
| static Standard_EXPORT Standard_Boolean | IsInternalFace (const TopoDS_Face &theFace, const TopoDS_Edge &theEdge, const TopoDS_Face &theFace1, const TopoDS_Face &theFace2, IntTools_Context &theContext) |
| Returns True if the face theFace is inside of the couple of faces theFace1, theFace2. | |
| static Standard_EXPORT Standard_Boolean | IsInternalFace (const TopoDS_Face &theFace, const TopoDS_Edge &theEdge, const TopTools_ListOfShape &theLF, IntTools_Context &theContext) |
| Returns True if the face theFace is inside of the appropriate couple of faces (from the set theLF) . | |
| static Standard_EXPORT Standard_Boolean | IsInternalFace (const TopoDS_Face &theFace, const TopoDS_Solid &theSolid, const TopTools_IndexedDataMapOfShapeListOfShape &theMEF, const Standard_Real theTol, IntTools_Context &theContext) |
| Returns True if the face theFace is inside the solid theSolid. | |
| static Standard_EXPORT void | GetFaceOff (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace, const NMTTools_ListOfCoupleOfShape &theLCEF, TopoDS_Face &theFaceOff) |
| For the face theFace and its edge theEdge finds the face suitable to produce shell. | |
| static Standard_EXPORT Standard_Boolean | GetEdgeOnFace (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace, TopoDS_Edge &theEdgeOnF) |
| For the face theFace gets the edge theEdgeOnF that is the same as theEdge Returns True if such edge exists Returns False if there is no such edge | |
| static Standard_EXPORT Standard_Boolean | GetEdgeOff (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace, TopoDS_Edge &theEdgeOff) |
| Returns True if the face theFace contains the edge theEdge but with opposite orientation. | |
| void* GEOMAlgo_Tools3D.operator new | ( | size_t | , |
| void * | anAddress | ||
| ) |
| void* GEOMAlgo_Tools3D.operator new | ( | size_t | size | ) |
| void GEOMAlgo_Tools3D.operator delete | ( | void * | anAddress | ) |
| Standard_Boolean GEOMAlgo_Tools3D::IsSplitToReverse | ( | const TopoDS_Shape & | theSplit, |
| const TopoDS_Shape & | theShape, | ||
| IntTools_Context & | theContext | ||
| ) | [static] |
| Standard_Boolean GEOMAlgo_Tools3D::IsSplitToReverse | ( | const TopoDS_Face & | theSplit, |
| const TopoDS_Face & | theShape, | ||
| IntTools_Context & | theContext | ||
| ) | [static] |
References GetApproxNormalToFaceOnEdge(), and Handle().
| Standard_Boolean GEOMAlgo_Tools3D::IsSplitToReverse | ( | const TopoDS_Edge & | theEdge, |
| const TopoDS_Edge & | theSplit, | ||
| IntTools_Context & | theContext | ||
| ) | [static] |
References Handle().
| Standard_Integer GEOMAlgo_Tools3D::Sense | ( | const TopoDS_Face & | theF1, |
| const TopoDS_Face & | theF2 | ||
| ) | [static] |
| void GEOMAlgo_Tools3D::CopyFace | ( | const TopoDS_Face & | theF1, |
| TopoDS_Face & | theF2 | ||
| ) | [static] |
References Handle(), and geompy.Tolerance().
| void GEOMAlgo_Tools3D::MakeContainer | ( | const TopAbs_ShapeEnum | theType, |
| TopoDS_Shape & | theShape | ||
| ) | [static] |
| void GEOMAlgo_Tools3D::MakeConnexityBlock | ( | const TopTools_ListOfShape & | theLS, |
| const TopTools_IndexedMapOfShape & | theMapAvoid, | ||
| TopTools_ListOfShape & | theLSCB | ||
| ) | [static] |
| TopAbs_State GEOMAlgo_Tools3D::ComputeStateByOnePoint | ( | const TopoDS_Shape & | theShape, |
| const TopoDS_Solid & | theSolid, | ||
| const Standard_Real | theTol, | ||
| IntTools_Context & | theContext | ||
| ) | [static] |
theTol - value of precision of computation
theContext- cahed geometrical tools
Returns 3-D state.
References ComputeState().
| TopAbs_State GEOMAlgo_Tools3D::ComputeState | ( | const gp_Pnt & | thePoint, |
| const TopoDS_Solid & | theSolid, | ||
| const Standard_Real | theTol, | ||
| IntTools_Context & | theContext | ||
| ) | [static] |
theTol - value of precision of computation
theContext- cahed geometrical tools
Returns 3-D state.
| TopAbs_State GEOMAlgo_Tools3D::ComputeState | ( | const TopoDS_Vertex & | theVertex, |
| const TopoDS_Solid & | theSolid, | ||
| const Standard_Real | theTol, | ||
| IntTools_Context & | theContext | ||
| ) | [static] |
theTol - value of precision of computation
theContext- cahed geometrical tools
Returns 3-D state.
References ComputeState().
| TopAbs_State GEOMAlgo_Tools3D::ComputeState | ( | const TopoDS_Edge & | theEdge, |
| const TopoDS_Solid & | theSolid, | ||
| const Standard_Real | theTol, | ||
| IntTools_Context & | theContext | ||
| ) | [static] |
theTol - value of precision of computation
theContext- cahed geometrical tools
Returns 3-D state.
References ComputeState(), and Handle().
| TopAbs_State GEOMAlgo_Tools3D::ComputeState | ( | const TopoDS_Face & | theFace, |
| const TopoDS_Solid & | theSolid, | ||
| const Standard_Real | theTol, | ||
| const TopTools_IndexedMapOfShape & | theBounds, | ||
| IntTools_Context & | theContext | ||
| ) | [static] |
theTol - value of precision of computation
theBounds - set of edges of theFace to avoid
theContext- cahed geometrical tools
Returns 3-D state.
References ComputeState().
| Standard_Boolean GEOMAlgo_Tools3D::IsInternalFace | ( | const TopoDS_Face & | theFace, |
| const TopoDS_Edge & | theEdge, | ||
| const TopoDS_Face & | theFace1, | ||
| const TopoDS_Face & | theFace2, | ||
| IntTools_Context & | theContext | ||
| ) | [static] |
The faces theFace, theFace1, theFace2 must
share the edge theEdge
References AngleWithRef(), GetApproxNormalToFaceOnEdge(), GetEdgeOnFace(), and Handle().
| Standard_Boolean GEOMAlgo_Tools3D::IsInternalFace | ( | const TopoDS_Face & | theFace, |
| const TopoDS_Edge & | theEdge, | ||
| const TopTools_ListOfShape & | theLF, | ||
| IntTools_Context & | theContext | ||
| ) | [static] |
The faces of the set theLF and theFace must
share the edge theEdge
References FindFacePairs(), NMTTools_ListIteratorOfListOfCoupleOfShape.Initialize(), IsInternalFace(), NMTTools_ListIteratorOfListOfCoupleOfShape.More(), NMTTools_ListIteratorOfListOfCoupleOfShape.Next(), NMTTools_CoupleOfShape.Shape1(), NMTTools_CoupleOfShape.Shape2(), and NMTTools_ListIteratorOfListOfCoupleOfShape.Value().
| Standard_Boolean GEOMAlgo_Tools3D::IsInternalFace | ( | const TopoDS_Face & | theFace, |
| const TopoDS_Solid & | theSolid, | ||
| const TopTools_IndexedDataMapOfShapeListOfShape & | theMEF, | ||
| const Standard_Real | theTol, | ||
| IntTools_Context & | theContext | ||
| ) | [static] |
theMEF - Map Edge/Faces for theSolid
theTol - value of precision of computation
theContext- cahed geometrical tools
References ComputeState(), and IsInternalFace().
| void GEOMAlgo_Tools3D::GetFaceOff | ( | const TopoDS_Edge & | theEdge, |
| const TopoDS_Face & | theFace, | ||
| const NMTTools_ListOfCoupleOfShape & | theLCEF, | ||
| TopoDS_Face & | theFaceOff | ||
| ) | [static] |
theLCEF - set of faces to search. All faces
from theLCEF must share edge theEdge
References AngleWithRef(), GetApproxNormalToFaceOnEdge(), NMTTools_ListIteratorOfListOfCoupleOfShape.Initialize(), NMTTools_ListIteratorOfListOfCoupleOfShape.More(), NMTTools_ListIteratorOfListOfCoupleOfShape.Next(), NMTTools_CoupleOfShape.Shape1(), NMTTools_CoupleOfShape.Shape2(), and NMTTools_ListIteratorOfListOfCoupleOfShape.Value().
| Standard_Boolean GEOMAlgo_Tools3D::GetEdgeOnFace | ( | const TopoDS_Edge & | theEdge, |
| const TopoDS_Face & | theFace, | ||
| TopoDS_Edge & | theEdgeOnF | ||
| ) | [static] |
| Standard_Boolean GEOMAlgo_Tools3D::GetEdgeOff | ( | const TopoDS_Edge & | theEdge, |
| const TopoDS_Face & | theFace, | ||
| TopoDS_Edge & | theEdgeOff | ||
| ) | [static] |
If the method returns True theEdgeOff is the
edge founded