SHAPER  9.12.0
GEOMAlgo_AlgoTools Class Reference

Auxiliary tools for Algorithms
More...

Static Public Member Functions

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

Detailed Description

Auxiliary tools for Algorithms

Member Function Documentation

◆ PntInFace()

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

Computes a point <theP> inside the face <theF>.


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

◆ PointCloudInFace()

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

Computes a set of points inside the face <theF>.


Returns 0 in case of success.