Version: 9.12.0
GEOMAlgo_AlgoTools Class Reference

Auxiliary tools for Algorithms

#include <GEOMAlgo_AlgoTools.hxx>

Static Public Member Functions

static Standard_EXPORT void FaceNormal (const TopoDS_Face &aF, const Standard_Real U, const Standard_Real V, gp_Vec &aN)
 
static Standard_EXPORT Standard_Integer PntInFace (const TopoDS_Face &theF, gp_Pnt &theP, gp_Pnt2d &theP2D)
 Computes a point <theP> inside the face <theF>. More...
 
static Standard_EXPORT Standard_Integer PointCloudInFace (const TopoDS_Face &theF, const int theNbPnts, TopoDS_Compound &theCompound)
 Computes a set of points inside the face <theF>. More...
 
static Standard_EXPORT Standard_Boolean IsCompositeShape (const TopoDS_Shape &aS)
 
static Standard_EXPORT Standard_Boolean BuildTriangulation (const TopoDS_Shape &aS)
 
static Standard_EXPORT Standard_Integer RefineSDShapes (GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape &aMSD, const Standard_Real aTol, const Handle(IntTools_Context)&aCtx)
 
static Standard_EXPORT Standard_Integer FindSDShapes (const TopTools_ListOfShape &aLE, const Standard_Real aTol, TopTools_IndexedDataMapOfShapeListOfShape &aMEE, const Handle(IntTools_Context)&aCtx)
 
static Standard_EXPORT Standard_Integer FindSDShapes (const TopoDS_Shape &aE1, const TopTools_ListOfShape &aLE, const Standard_Real aTol, TopTools_ListOfShape &aLESD, const Handle(IntTools_Context)&aCtx)
 
static Standard_EXPORT void PointOnShape (const TopoDS_Shape &aS, gp_Pnt &aP3D)
 
static Standard_EXPORT void PointOnEdge (const TopoDS_Edge &aE, gp_Pnt &aP3D)
 
static Standard_EXPORT void PointOnEdge (const TopoDS_Edge &aE, const Standard_Real aT, gp_Pnt &aP3D)
 
static Standard_EXPORT void PointOnFace (const TopoDS_Face &aF, gp_Pnt &aP3D)
 
static Standard_EXPORT void PointOnFace (const TopoDS_Face &aF, const Standard_Real aU, const Standard_Real aV, gp_Pnt &aP3D)
 
static Standard_EXPORT Standard_Boolean ProjectPointOnShape (const gp_Pnt &aP1, const TopoDS_Shape &aS, gp_Pnt &aP2, const Handle(IntTools_Context)&aCtx)
 
static Standard_EXPORT void CorrectTolerances (const TopoDS_Shape &aShape, const Standard_Real aMaxTol=0.0001)
 
static Standard_EXPORT void CorrectPointOnCurve (const TopoDS_Shape &S, const Standard_Real aMaxTol=0.0001)
 
static Standard_EXPORT void CorrectCurveOnSurface (const TopoDS_Shape &S, const Standard_Real aMaxTol=0.0001)
 
static Standard_EXPORT Standard_Boolean IsSplitToReverse1 (const TopoDS_Edge &aEF1, const TopoDS_Edge &aEF2, const Handle(IntTools_Context)&aCtx)
 
static Standard_EXPORT void RefinePCurveForEdgeOnFace (const TopoDS_Edge &aE, const TopoDS_Face &aF, const Standard_Real aUMin, const Standard_Real aUMax)
 
static Standard_EXPORT Standard_Boolean IsUPeriodic (const Handle(Geom_Surface) &aS)
 
static Standard_EXPORT void MakeContainer (const TopAbs_ShapeEnum theType, TopoDS_Shape &theC)
 
static Standard_EXPORT Standard_Boolean IsSplitToReverse (const TopoDS_Edge &theSplit, const TopoDS_Edge &theEdge, const Handle(IntTools_Context)&theCtx)
 
static Standard_EXPORT Standard_Boolean IsSplitToReverse (const TopoDS_Face &theFSp, const TopoDS_Face &theFSr, const Handle(IntTools_Context)&theCtx)
 
static Standard_EXPORT Standard_Boolean IsSplitToReverse (const TopoDS_Shape &theSp, const TopoDS_Shape &theSr, const Handle(IntTools_Context)&theCtx)
 
static Standard_EXPORT Standard_Integer BuildPCurveForEdgeOnFace (const TopoDS_Edge &aEold, const TopoDS_Edge &aEnew, const TopoDS_Face &aF, const Handle(IntTools_Context)&aCtx)
 
static Standard_EXPORT void FindChains (const GEOMAlgo_ListOfCoupleOfShapes &aLCS, GEOMAlgo_IndexedDataMapOfShapeIndexedMapOfShape &aMapChains)
 
static Standard_EXPORT void FindChains (const GEOMAlgo_IndexedDataMapOfShapeIndexedMapOfShape &aMCV, GEOMAlgo_IndexedDataMapOfShapeIndexedMapOfShape &aMapChains)
 
static Standard_EXPORT void CopyShape (const TopoDS_Shape &aS, TopoDS_Shape &aSC)
 
static Standard_EXPORT void CopyShape (const TopoDS_Shape &aS, TopoDS_Shape &aSC, TopTools_IndexedDataMapOfShapeShape &aMSS)
 

Member Function Documentation

◆ BuildPCurveForEdgeOnFace()

Standard_Integer GEOMAlgo_AlgoTools::BuildPCurveForEdgeOnFace ( const TopoDS_Edge &  aEold,
const TopoDS_Edge &  aEnew,
const TopoDS_Face &  aF,
const Handle(IntTools_Context)&  aCtx 
)
static

References Handle().

◆ BuildTriangulation()

Standard_Boolean GEOMAlgo_AlgoTools::BuildTriangulation ( const TopoDS_Shape &  aS)
static

References Handle().

◆ CopyShape() [1/2]

void GEOMAlgo_AlgoTools::CopyShape ( const TopoDS_Shape &  aS,
TopoDS_Shape &  aSC 
)
static

References CopySource().

◆ CopyShape() [2/2]

void GEOMAlgo_AlgoTools::CopyShape ( const TopoDS_Shape &  aS,
TopoDS_Shape &  aSC,
TopTools_IndexedDataMapOfShapeShape &  aMSS 
)
static

References CopySource().

◆ CorrectCurveOnSurface()

static Standard_EXPORT void GEOMAlgo_AlgoTools::CorrectCurveOnSurface ( const TopoDS_Shape &  S,
const Standard_Real  aMaxTol = 0.0001 
)
static

◆ CorrectPointOnCurve()

static Standard_EXPORT void GEOMAlgo_AlgoTools::CorrectPointOnCurve ( const TopoDS_Shape &  S,
const Standard_Real  aMaxTol = 0.0001 
)
static

◆ CorrectTolerances()

static Standard_EXPORT void GEOMAlgo_AlgoTools::CorrectTolerances ( const TopoDS_Shape &  aShape,
const Standard_Real  aMaxTol = 0.0001 
)
static

◆ FaceNormal()

void GEOMAlgo_AlgoTools::FaceNormal ( const TopoDS_Face &  aF,
const Standard_Real  U,
const Standard_Real  V,
gp_Vec &  aN 
)
static

References Handle().

◆ FindChains() [1/2]

void GEOMAlgo_AlgoTools::FindChains ( const GEOMAlgo_IndexedDataMapOfShapeIndexedMapOfShape aMCV,
GEOMAlgo_IndexedDataMapOfShapeIndexedMapOfShape aMapChains 
)
static

References ProcessBlock().

◆ FindChains() [2/2]

void GEOMAlgo_AlgoTools::FindChains ( const GEOMAlgo_ListOfCoupleOfShapes aLCS,
GEOMAlgo_IndexedDataMapOfShapeIndexedMapOfShape aMapChains 
)
static

◆ FindSDShapes() [1/2]

Standard_Integer GEOMAlgo_AlgoTools::FindSDShapes ( const TopoDS_Shape &  aE1,
const TopTools_ListOfShape &  aLE,
const Standard_Real  aTol,
TopTools_ListOfShape &  aLESD,
const Handle(IntTools_Context)&  aCtx 
)
static

◆ FindSDShapes() [2/2]

Standard_Integer GEOMAlgo_AlgoTools::FindSDShapes ( const TopTools_ListOfShape &  aLE,
const Standard_Real  aTol,
TopTools_IndexedDataMapOfShapeListOfShape &  aMEE,
const Handle(IntTools_Context)&  aCtx 
)
static

◆ IsCompositeShape()

Standard_Boolean GEOMAlgo_AlgoTools::IsCompositeShape ( const TopoDS_Shape &  aS)
static

References GetCount().

◆ IsSplitToReverse() [1/3]

Standard_Boolean GEOMAlgo_AlgoTools::IsSplitToReverse ( const TopoDS_Edge &  theSplit,
const TopoDS_Edge &  theEdge,
const Handle(IntTools_Context)&  theCtx 
)
static

References Handle().

◆ IsSplitToReverse() [2/3]

static Standard_EXPORT Standard_Boolean GEOMAlgo_AlgoTools::IsSplitToReverse ( const TopoDS_Face &  theFSp,
const TopoDS_Face &  theFSr,
const Handle(IntTools_Context)&  theCtx 
)
static

◆ IsSplitToReverse() [3/3]

static Standard_EXPORT Standard_Boolean GEOMAlgo_AlgoTools::IsSplitToReverse ( const TopoDS_Shape &  theSp,
const TopoDS_Shape &  theSr,
const Handle(IntTools_Context)&  theCtx 
)
static

◆ IsSplitToReverse1()

static Standard_EXPORT Standard_Boolean GEOMAlgo_AlgoTools::IsSplitToReverse1 ( const TopoDS_Edge &  aEF1,
const TopoDS_Edge &  aEF2,
const Handle(IntTools_Context)&  aCtx 
)
static

◆ IsUPeriodic()

Standard_Boolean GEOMAlgo_AlgoTools::IsUPeriodic ( const Handle(Geom_Surface) &  aS)
static

◆ MakeContainer()

void GEOMAlgo_AlgoTools::MakeContainer ( const TopAbs_ShapeEnum  theType,
TopoDS_Shape &  theC 
)
static

◆ PntInFace()

Standard_Integer GEOMAlgo_AlgoTools::PntInFace ( const TopoDS_Face &  theF,
gp_Pnt &  theP,
gp_Pnt2d &  theP2D 
)
static


<theP2D> - 2D representation of <theP>
on the surface of <theF>
Returns 0 in case of success.

References Handle().

◆ PointCloudInFace()

Standard_Integer GEOMAlgo_AlgoTools::PointCloudInFace ( const TopoDS_Face &  theF,
const int  theNbPnts,
TopoDS_Compound &  theCompound 
)
static


Returns 0 in case of success.

References comp(), GetMidPnt2d(), and ModifyFacesForGlobalResult().

◆ PointOnEdge() [1/2]

void GEOMAlgo_AlgoTools::PointOnEdge ( const TopoDS_Edge &  aE,
const Standard_Real  aT,
gp_Pnt &  aP3D 
)
static

References Handle().

◆ PointOnEdge() [2/2]

void GEOMAlgo_AlgoTools::PointOnEdge ( const TopoDS_Edge &  aE,
gp_Pnt &  aP3D 
)
static

◆ PointOnFace() [1/2]

void GEOMAlgo_AlgoTools::PointOnFace ( const TopoDS_Face &  aF,
const Standard_Real  aU,
const Standard_Real  aV,
gp_Pnt &  aP3D 
)
static

References Handle().

◆ PointOnFace() [2/2]

void GEOMAlgo_AlgoTools::PointOnFace ( const TopoDS_Face &  aF,
gp_Pnt &  aP3D 
)
static

◆ PointOnShape()

void GEOMAlgo_AlgoTools::PointOnShape ( const TopoDS_Shape &  aS,
gp_Pnt &  aP3D 
)
static

References PointOnEdge(), and PointOnFace().

◆ ProjectPointOnShape()

Standard_Boolean GEOMAlgo_AlgoTools::ProjectPointOnShape ( const gp_Pnt &  aP1,
const TopoDS_Shape &  aS,
gp_Pnt &  aP2,
const Handle(IntTools_Context)&  aCtx 
)
static

References Handle(), and PointOnEdge().

◆ RefinePCurveForEdgeOnFace()

void GEOMAlgo_AlgoTools::RefinePCurveForEdgeOnFace ( const TopoDS_Edge &  aE,
const TopoDS_Face &  aF,
const Standard_Real  aUMin,
const Standard_Real  aUMax 
)
static

References Handle().

◆ RefineSDShapes()

Standard_Integer GEOMAlgo_AlgoTools::RefineSDShapes ( GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape aMSD,
const Standard_Real  aTol,
const Handle(IntTools_Context)&  aCtx 
)
static

The documentation for this class was generated from the following files: