OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKBool
TopOpeBRepBuild


TopOpeBRepBuild_Tools Class Reference

Auxiliary methods used in TopOpeBRepBuild_Builder1 class
.

#include <TopOpeBRepBuild_Tools.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 void DumpMapOfShapeWithState (const Standard_Integer iP, const TopOpeBRepDS_IndexedDataMapOfShapeWithState &aMapOfShapeWithState)
static Standard_EXPORT void FindState (const TopoDS_Shape &aVertex, const TopAbs_State aState, const TopAbs_ShapeEnum aShapeEnum, const TopTools_IndexedDataMapOfShapeListOfShape &aMapVertexEdges, TopTools_MapOfShape &aMapProcessedVertices, TopOpeBRepDS_DataMapOfShapeState &aMapVs)
static Standard_EXPORT void PropagateState (const TopOpeBRepDS_DataMapOfShapeState &aSplEdgesState, const TopTools_IndexedMapOfShape &anEdgesToRestMap, const TopAbs_ShapeEnum aShapeEnum1, const TopAbs_ShapeEnum aShapeEnum2, TopOpeBRepTool_ShapeClassifier &aShapeClassifier, TopOpeBRepDS_IndexedDataMapOfShapeWithState &aMapOfShapeWithState, const TopTools_MapOfShape &anUnkStateShapes)
static Standard_EXPORT TopAbs_State FindStateThroughVertex (const TopoDS_Shape &aShape, TopOpeBRepTool_ShapeClassifier &aShapeClassifier, TopOpeBRepDS_IndexedDataMapOfShapeWithState &aMapOfShapeWithState, const TopTools_MapOfShape &anAvoidSubshMap)
static Standard_EXPORT void PropagateStateForWires (const TopTools_IndexedMapOfShape &aFacesToRestMap, TopOpeBRepDS_IndexedDataMapOfShapeWithState &aMapOfShapeWithState)
static Standard_EXPORT void SpreadStateToChild (const TopoDS_Shape &aShape, const TopAbs_State aState, TopOpeBRepDS_IndexedDataMapOfShapeWithState &aMapOfShapeWithState)
static Standard_EXPORT void FindState1 (const TopoDS_Shape &anEdge, const TopAbs_State aState, const TopTools_IndexedDataMapOfShapeListOfShape &aMapEdgesFaces, TopTools_MapOfShape &aMapProcessedVertices, TopOpeBRepDS_DataMapOfShapeState &aMapVs)
static Standard_EXPORT void FindState2 (const TopoDS_Shape &anEdge, const TopAbs_State aState, const TopTools_IndexedDataMapOfShapeListOfShape &aMapEdgesFaces, TopTools_MapOfShape &aMapProcessedEdges, TopOpeBRepDS_DataMapOfShapeState &aMapVs)
static Standard_EXPORT Standard_Boolean GetAdjacentFace (const TopoDS_Shape &aFaceObj, const TopoDS_Shape &anEObj, const TopTools_IndexedDataMapOfShapeListOfShape &anEdgeFaceMap, TopoDS_Shape &anAdjFaceObj)
static Standard_EXPORT void GetNormalToFaceOnEdge (const TopoDS_Face &aFObj, const TopoDS_Edge &anEdgeObj, gp_Vec &aDirNormal)
static Standard_EXPORT void GetNormalInNearestPoint (const TopoDS_Face &aFace, const TopoDS_Edge &anEdge, gp_Vec &aNormal)
 This function used to compute normal in point which is located
near the point with param UV (used for computation of normals where the normal in the point UV equal to zero).
.
static Standard_EXPORT Standard_Boolean GetTangentToEdgeEdge (const TopoDS_Face &aFObj, const TopoDS_Edge &anEdgeObj, const TopoDS_Edge &aOriEObj, gp_Vec &aTangent)
static Standard_EXPORT Standard_Boolean GetTangentToEdge (const TopoDS_Edge &anEdgeObj, gp_Vec &aTangent)
static Standard_EXPORT void UpdatePCurves (const TopoDS_Wire &aWire, const TopoDS_Face &fromFace, const TopoDS_Face &toFace)
 Recompute PCurves of the all edges from the wire on the <toface>
.
static Standard_EXPORT void UpdateEdgeOnPeriodicalFace (const TopoDS_Edge &aEdgeToUpdate, const TopoDS_Face &OldFace, const TopoDS_Face &NewFace)
 recompute PCurves of the closing (SIM , with 2 PCurves) edge on the NewFace

static Standard_EXPORT void UpdateEdgeOnFace (const TopoDS_Edge &aEdgeToUpdate, const TopoDS_Face &OldFace, const TopoDS_Face &NewFace)
 recompute PCurve of the edge on the NewFace

static Standard_EXPORT Standard_Boolean IsDegEdgesTheSame (const TopoDS_Shape &anE1, const TopoDS_Shape &anE2)
static Standard_EXPORT void NormalizeFace (const TopoDS_Shape &oldFace, TopoDS_Shape &corrFace)
 test if <oldface> does not contain INTERNAL or EXTERNAL edges
and remove such edges in case of its presence. The result is stored in <corrface>

static Standard_EXPORT void CorrectFace2d (const TopoDS_Shape &oldFace, TopoDS_Shape &corrFace, const TopTools_IndexedMapOfOrientedShape &aSourceShapes, TopTools_IndexedDataMapOfShapeShape &aMapOfCorrect2dEdges)
 test if UV representation of <oldface> is good (i.e. face is closed in 2d).
if face is not closed , this method will try to close such face and will
return corrected edges in the <amapofcorrect2dedges>. Parameter <asourceshapes>
used to fix the edge (or wires) which should be correct (Corrector used it as a start shapes).
NOTE : Parameter corrFace doesn't mean anything. If you want to use this method , rebuild resulting face
after by yourself using corrected edges.

static Standard_EXPORT void CorrectTolerances (const TopoDS_Shape &aS, const Standard_Real aTolMax=0.0001)
static Standard_EXPORT void CorrectCurveOnSurface (const TopoDS_Shape &aS, const Standard_Real aTolMax=0.0001)
static Standard_EXPORT void CorrectPointOnCurve (const TopoDS_Shape &aS, const Standard_Real aTolMax=0.0001)
static Standard_EXPORT Standard_Boolean CheckFaceClosed2d (const TopoDS_Face &theFace)
 Checks if <theface> has the properly closed in 2D boundary(ies)
.


Member Function Documentation

static Standard_EXPORT Standard_Boolean TopOpeBRepBuild_Tools::CheckFaceClosed2d const TopoDS_Face &  theFace  )  [static]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::CorrectCurveOnSurface const TopoDS_Shape &  aS,
const Standard_Real  aTolMax = 0.0001
[static]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::CorrectFace2d const TopoDS_Shape &  oldFace,
TopoDS_Shape &  corrFace,
const TopTools_IndexedMapOfOrientedShape &  aSourceShapes,
TopTools_IndexedDataMapOfShapeShape &  aMapOfCorrect2dEdges
[static]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::CorrectPointOnCurve const TopoDS_Shape &  aS,
const Standard_Real  aTolMax = 0.0001
[static]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::CorrectTolerances const TopoDS_Shape &  aS,
const Standard_Real  aTolMax = 0.0001
[static]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::DumpMapOfShapeWithState const Standard_Integer  iP,
const TopOpeBRepDS_IndexedDataMapOfShapeWithState aMapOfShapeWithState
[static]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::FindState const TopoDS_Shape &  aVertex,
const TopAbs_State  aState,
const TopAbs_ShapeEnum  aShapeEnum,
const TopTools_IndexedDataMapOfShapeListOfShape &  aMapVertexEdges,
TopTools_MapOfShape &  aMapProcessedVertices,
TopOpeBRepDS_DataMapOfShapeState aMapVs
[static]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::FindState1 const TopoDS_Shape &  anEdge,
const TopAbs_State  aState,
const TopTools_IndexedDataMapOfShapeListOfShape &  aMapEdgesFaces,
TopTools_MapOfShape &  aMapProcessedVertices,
TopOpeBRepDS_DataMapOfShapeState aMapVs
[static]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::FindState2 const TopoDS_Shape &  anEdge,
const TopAbs_State  aState,
const TopTools_IndexedDataMapOfShapeListOfShape &  aMapEdgesFaces,
TopTools_MapOfShape &  aMapProcessedEdges,
TopOpeBRepDS_DataMapOfShapeState aMapVs
[static]
 

static Standard_EXPORT TopAbs_State TopOpeBRepBuild_Tools::FindStateThroughVertex const TopoDS_Shape &  aShape,
TopOpeBRepTool_ShapeClassifier aShapeClassifier,
TopOpeBRepDS_IndexedDataMapOfShapeWithState aMapOfShapeWithState,
const TopTools_MapOfShape &  anAvoidSubshMap
[static]
 

static Standard_EXPORT Standard_Boolean TopOpeBRepBuild_Tools::GetAdjacentFace const TopoDS_Shape &  aFaceObj,
const TopoDS_Shape &  anEObj,
const TopTools_IndexedDataMapOfShapeListOfShape &  anEdgeFaceMap,
TopoDS_Shape &  anAdjFaceObj
[static]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::GetNormalInNearestPoint const TopoDS_Face &  aFace,
const TopoDS_Edge &  anEdge,
gp_Vec &  aNormal
[static]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::GetNormalToFaceOnEdge const TopoDS_Face &  aFObj,
const TopoDS_Edge &  anEdgeObj,
gp_Vec &  aDirNormal
[static]
 

static Standard_EXPORT Standard_Boolean TopOpeBRepBuild_Tools::GetTangentToEdge const TopoDS_Edge &  anEdgeObj,
gp_Vec &  aTangent
[static]
 

static Standard_EXPORT Standard_Boolean TopOpeBRepBuild_Tools::GetTangentToEdgeEdge const TopoDS_Face &  aFObj,
const TopoDS_Edge &  anEdgeObj,
const TopoDS_Edge &  aOriEObj,
gp_Vec &  aTangent
[static]
 

static Standard_EXPORT Standard_Boolean TopOpeBRepBuild_Tools::IsDegEdgesTheSame const TopoDS_Shape &  anE1,
const TopoDS_Shape &  anE2
[static]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::NormalizeFace const TopoDS_Shape &  oldFace,
TopoDS_Shape &  corrFace
[static]
 

void TopOpeBRepBuild_Tools::operator delete void *  anAddress  )  [inline]
 

void* TopOpeBRepBuild_Tools::operator new size_t  size  )  [inline]
 

void* TopOpeBRepBuild_Tools::operator new size_t  ,
void *  anAddress
[inline]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::PropagateState const TopOpeBRepDS_DataMapOfShapeState aSplEdgesState,
const TopTools_IndexedMapOfShape &  anEdgesToRestMap,
const TopAbs_ShapeEnum  aShapeEnum1,
const TopAbs_ShapeEnum  aShapeEnum2,
TopOpeBRepTool_ShapeClassifier aShapeClassifier,
TopOpeBRepDS_IndexedDataMapOfShapeWithState aMapOfShapeWithState,
const TopTools_MapOfShape &  anUnkStateShapes
[static]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::PropagateStateForWires const TopTools_IndexedMapOfShape &  aFacesToRestMap,
TopOpeBRepDS_IndexedDataMapOfShapeWithState aMapOfShapeWithState
[static]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::SpreadStateToChild const TopoDS_Shape &  aShape,
const TopAbs_State  aState,
TopOpeBRepDS_IndexedDataMapOfShapeWithState aMapOfShapeWithState
[static]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::UpdateEdgeOnFace const TopoDS_Edge &  aEdgeToUpdate,
const TopoDS_Face &  OldFace,
const TopoDS_Face &  NewFace
[static]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::UpdateEdgeOnPeriodicalFace const TopoDS_Edge &  aEdgeToUpdate,
const TopoDS_Face &  OldFace,
const TopoDS_Face &  NewFace
[static]
 

static Standard_EXPORT void TopOpeBRepBuild_Tools::UpdatePCurves const TopoDS_Wire &  aWire,
const TopoDS_Face &  fromFace,
const TopoDS_Face &  toFace
[static]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:43:00 2008 for OpenCASCADE by  doxygen 1.4.1