|
Open CASCADE Technology
6.7.1
|
#include <HLRBRep_Data.hxx>

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. More... | |
| 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>. More... | |
| HLRBRep_Array1OfEData & | EDataArray () |
| HLRBRep_Array1OfFData & | FDataArray () |
| void | Tolerance (const Standard_ShortReal tol) |
| Set the tolerance for the rejections during the exploration More... | |
| Standard_ShortReal | Tolerance () const |
| returns the tolerance for the rejections during the exploration More... | |
| void | Update (const HLRAlgo_Projector &P) |
| end of building of the Data and updating all the informations linked to the projection. More... | |
| 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. More... | |
| void | InitEdge (const Standard_Integer FI, BRepTopAdaptor_MapOfShapeTool &MST) |
| Begin an iteration only on visible Edges crossing the face number <FI>. More... | |
| Standard_Boolean | MoreEdge () |
| void | NextEdge (const Standard_Boolean skip=Standard_True) |
| Standard_Integer | Edge () const |
| Returns the current Edge More... | |
| Standard_Boolean | HidingTheFace () const |
| Returns true if the current edge to be hidden belongs to the hiding face. More... | |
| Standard_Boolean | SimpleHidingFace () const |
| Returns true if the current hiding face is not an auto-intersected one. More... | |
| void | InitInterference () |
| Intersect the current Edge with the boundary of the hiding face. The interferences are given by the More, Next, and Value methods. More... | |
| Standard_Boolean | MoreInterference () const |
| void | NextInterference () |
| Standard_Boolean | RejectedInterference () |
| Returns True if the interference is rejected. More... | |
| Standard_Boolean | AboveInterference () |
| Returns True if the rejected interference is above the face. More... | |
| 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 . More... | |
| 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 . More... | |
| 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. More... | |
| Standard_Boolean | EdgeOfTheHidingFace (const Standard_Integer E, const HLRBRep_EdgeData &ED) const |
| Returns the true if the Edge <ED> belongs to the Hiding Face. More... | |
| 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. More... | |
| TopAbs_State | Compare (const Standard_Integer E, const HLRBRep_EdgeData &ED) |
| Returns the state of the Edge <ED> after classification. More... | |
| 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] <br> returns OUT if at least 1 of Nbp points of edge is out | |
| TopAbs_State | Classify (const Standard_Integer E, const HLRBRep_EdgeData &ED, const Standard_Boolean LevelFlag, Standard_Integer &Level, const Standard_Real param) |
| Classification of an edge. More... | |
| void | Destroy () |
| ~HLRBRep_Data () | |
Public Member Functions inherited from MMgt_TShared | |
| virtual void | Delete () const |
| Memory deallocator for transient classes. More... | |
Public Member Functions inherited from Standard_Transient | |
| Standard_Transient () | |
| Empty constructor. More... | |
| Standard_Transient (const Standard_Transient &) | |
| Copy constructor – does nothing. More... | |
| Standard_Transient & | operator= (const Standard_Transient &) |
| Assignment operator, needed to avoid copying reference counter. More... | |
| virtual | ~Standard_Transient () |
| Destructor must be virtual. More... | |
| virtual void | ShallowDump (Standard_OStream &) const |
| virtual const Handle_Standard_Type & | DynamicType () const |
| Returns a type information object about this object. More... | |
| Standard_Boolean | IsInstance (const Handle_Standard_Type &theType) const |
| Returns a true value if this is an instance of Type. More... | |
| Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
| Returns a true value if this is an instance of TypeName. More... | |
| Standard_Boolean | IsKind (const Handle_Standard_Type &theType) const |
| Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
| Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
| Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
| virtual Handle_Standard_Transient | This () const |
| Returns a Handle which references this object. Must never be called to objects created in stack. More... | |
| Standard_Integer | GetRefCount () const |
| Get the reference counter of this object. More... | |
| HLRBRep_Data::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.
|
inline |
| Standard_Boolean HLRBRep_Data::AboveInterference | ( | ) |
Returns True if the rejected interference is above
the face.
| TopAbs_State HLRBRep_Data::Classify | ( | const Standard_Integer | E, |
| const HLRBRep_EdgeData & | ED, | ||
| const Standard_Boolean | LevelFlag, | ||
| Standard_Integer & | Level, | ||
| const Standard_Real | param | ||
| ) |
Classification of an edge.
| TopAbs_State HLRBRep_Data::Compare | ( | const Standard_Integer | E, |
| const HLRBRep_EdgeData & | ED | ||
| ) |
Returns the state of the Edge <ED> after
classification.
| void HLRBRep_Data::Destroy | ( | ) |
| HLRBRep_Array1OfEData& HLRBRep_Data::EDataArray | ( | ) |
| Standard_Integer HLRBRep_Data::Edge | ( | ) | const |
Returns the current Edge
| TopTools_IndexedMapOfShape& HLRBRep_Data::EdgeMap | ( | ) |
| Standard_Boolean HLRBRep_Data::EdgeOfTheHidingFace | ( | const Standard_Integer | E, |
| const HLRBRep_EdgeData & | ED | ||
| ) | const |
Returns the true if the Edge <ED> belongs to the
Hiding Face.
| void HLRBRep_Data::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.
| TopTools_IndexedMapOfShape& HLRBRep_Data::FaceMap | ( | ) |
| HLRBRep_Array1OfFData& HLRBRep_Data::FDataArray | ( | ) |
| Standard_Integer HLRBRep_Data::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.
| Standard_Boolean HLRBRep_Data::HidingTheFace | ( | ) | const |
Returns true if the current edge to be hidden
belongs to the hiding face.
| void HLRBRep_Data::InitBoundSort | ( | const Standard_Address | MinMaxTot, |
| const Standard_Integer | e1, | ||
| const Standard_Integer | e2 | ||
| ) |
to compare with only non rejected edges.
| void HLRBRep_Data::InitEdge | ( | const Standard_Integer | FI, |
| BRepTopAdaptor_MapOfShapeTool & | MST | ||
| ) |
Begin an iteration only on visible Edges
crossing the face number <FI>.
| void HLRBRep_Data::InitInterference | ( | ) |
Intersect the current Edge with the boundary of
the hiding face. The interferences are given by
the More, Next, and Value methods.
| HLRAlgo_Interference& HLRBRep_Data::Interference | ( | ) |
| void HLRBRep_Data::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 HLRBRep_Data::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 .
| Standard_Boolean HLRBRep_Data::MoreEdge | ( | ) |
| Standard_Boolean HLRBRep_Data::MoreInterference | ( | ) | const |
| Standard_Integer HLRBRep_Data::NbEdges | ( | ) | const |
| Standard_Integer HLRBRep_Data::NbFaces | ( | ) | const |
| Standard_Integer HLRBRep_Data::NbVertices | ( | ) | const |
| void HLRBRep_Data::NextEdge | ( | const Standard_Boolean | skip = Standard_True | ) |
| void HLRBRep_Data::NextInterference | ( | ) |
| HLRAlgo_Projector& HLRBRep_Data::Projector | ( | ) |
| Standard_Boolean HLRBRep_Data::RejectedInterference | ( | ) |
Returns True if the interference is rejected.
| TopAbs_State HLRBRep_Data::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] <br>
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.
| Standard_Boolean HLRBRep_Data::SimpleHidingFace | ( | ) | const |
Returns true if the current hiding face is not an
auto-intersected one.
| void HLRBRep_Data::Tolerance | ( | const Standard_ShortReal | tol | ) |
Set the tolerance for the rejections during the
exploration
| Standard_ShortReal HLRBRep_Data::Tolerance | ( | ) | const |
returns the tolerance for the rejections during
the exploration
| void HLRBRep_Data::Update | ( | const HLRAlgo_Projector & | P | ) |
end of building of the Data and updating
all the informations linked to the projection.
| void HLRBRep_Data::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>.
1.8.5