Public Member Functions |
| HLRBRep_Data (const Standard_Integer NV, const Standard_Integer NE, const Standard_Integer NF) |
| Create an empty data structure of <NV> vertices,
<NE> edges and <NF> faces.
|
void | Write (const Handle< HLRBRep_Data > &DS, const Standard_Integer dv, const Standard_Integer de, const Standard_Integer df) |
| Write <DS> in me with a translation of
<dv>,<de>,<df>.
|
HLRBRep_Array1OfEData & | EDataArray () |
HLRBRep_Array1OfFData & | FDataArray () |
void | Tolerance (const Standard_ShortReal tol) |
| Set the tolerance for the rejections during the
exploration
|
Standard_ShortReal | Tolerance () const |
| returns the tolerance for the rejections during
the exploration
|
void | Update (const HLRAlgo_Projector &P) |
| end of building of the Data and updating
all the informations linked to the projection.
|
HLRAlgo_Projector & | Projector () |
Standard_Integer | NbVertices () const |
Standard_Integer | NbEdges () const |
Standard_Integer | NbFaces () const |
TopTools_IndexedMapOfShape & | EdgeMap () |
TopTools_IndexedMapOfShape & | FaceMap () |
void | InitBoundSort (const Standard_Address MinMaxTot, const Standard_Integer e1, const Standard_Integer e2) |
| to compare with only non rejected edges.
|
void | InitEdge (const Standard_Integer FI, BRepTopAdaptor_MapOfShapeTool &MST) |
| Begin an iteration only on visible Edges
crossing the face number <FI>.
|
Standard_Boolean | MoreEdge () |
void | NextEdge (const Standard_Boolean skip=Standard_True) |
Standard_Integer | Edge () const |
| Returns the current Edge
|
Standard_Boolean | HidingTheFace () const |
| Returns true if the current edge to be hidden
belongs to the hiding face.
|
Standard_Boolean | SimpleHidingFace () const |
| Returns true if the current hiding face is not an
auto-intersected one.
|
void | InitInterference () |
| Intersect the current Edge with the boundary of
the hiding face. The interferences are given by
the More, Next, and Value methods.
|
Standard_Boolean | MoreInterference () const |
void | NextInterference () |
Standard_Boolean | RejectedInterference () |
| Returns True if the interference is rejected.
|
Standard_Boolean | AboveInterference () |
| Returns True if the rejected interference is above
the face.
|
HLRAlgo_Interference & | Interference () |
void | LocalLEGeometry2D (const Standard_Real Param, gp_Dir2d &Tg, gp_Dir2d &Nm, Standard_Real &Cu) |
| Returns the local description of the projection of
the current LEdge at parameter .
|
void | LocalFEGeometry2D (const Standard_Integer FE, const Standard_Real Param, gp_Dir2d &Tg, gp_Dir2d &Nm, Standard_Real &Cu) |
| Returns the local description of the projection of
the current FEdge at parameter .
|
void | EdgeState (const Standard_Real p1, const Standard_Real p2, TopAbs_State &stbef, TopAbs_State &staf) |
| Returns the local 3D state of the intersection
between the current edge and the current face at the
<p1> and <p2> parameters.
|
Standard_Boolean | EdgeOfTheHidingFace (const Standard_Integer E, const HLRBRep_EdgeData &ED) const |
| Returns the true if the Edge <ED> belongs to the
Hiding Face.
|
Standard_Integer | HidingStartLevel (const Standard_Integer E, const HLRBRep_EdgeData &ED, const HLRAlgo_InterferenceList &IL) |
| Returns the number of levels of hiding face above
the first point of the edge <ED>. The
InterferenceList is given to compute far away of
the Interferences and then come back.
|
TopAbs_State | Compare (const Standard_Integer E, const HLRBRep_EdgeData &ED) |
| Returns the state of the Edge <ED> after
classification.
|
TopAbs_State | SimplClassify (const Standard_Integer E, const HLRBRep_EdgeData &ED, const Standard_Integer Nbp, const Standard_Real p1, const Standard_Real p2) |
| Simple classification of part of edge [p1, p2]
returns OUT if at least 1 of Nbp points of edge is out
othewise returns IN
It is used to check "suspision" hided part of edge.
|
void | Destroy () |
| ~HLRBRep_Data () |