Open CASCADE Technology 6.6.0
Public Member Functions
HLRBRep_Data Class Reference

#include <HLRBRep_Data.hxx>

Inheritance diagram for HLRBRep_Data:
Inheritance graph
[legend]

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_Array1OfEDataEDataArray ()
HLRBRep_Array1OfFDataFDataArray ()
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_ProjectorProjector ()
Standard_Integer NbVertices () const
Standard_Integer NbEdges () const
Standard_Integer NbFaces () const
TopTools_IndexedMapOfShapeEdgeMap ()
TopTools_IndexedMapOfShapeFaceMap ()
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_InterferenceInterference ()
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 ()

Constructor & Destructor Documentation

HLRBRep_Data::HLRBRep_Data ( const Standard_Integer  NV,
const Standard_Integer  NE,
const Standard_Integer  NF 
)
HLRBRep_Data::~HLRBRep_Data ( ) [inline]

Member Function Documentation

Standard_Boolean HLRBRep_Data::AboveInterference ( )
TopAbs_State HLRBRep_Data::Compare ( const Standard_Integer  E,
const HLRBRep_EdgeData ED 
)
void HLRBRep_Data::Destroy ( )
HLRBRep_Array1OfEData& HLRBRep_Data::EDataArray ( )
Standard_Integer HLRBRep_Data::Edge ( ) const
TopTools_IndexedMapOfShape& HLRBRep_Data::EdgeMap ( )
Standard_Boolean HLRBRep_Data::EdgeOfTheHidingFace ( const Standard_Integer  E,
const HLRBRep_EdgeData ED 
) const
void HLRBRep_Data::EdgeState ( const Standard_Real  p1,
const Standard_Real  p2,
TopAbs_State stbef,
TopAbs_State staf 
)
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 
)
Standard_Boolean HLRBRep_Data::HidingTheFace ( ) const
void HLRBRep_Data::InitBoundSort ( const Standard_Address  MinMaxTot,
const Standard_Integer  e1,
const Standard_Integer  e2 
)
void HLRBRep_Data::InitEdge ( const Standard_Integer  FI,
BRepTopAdaptor_MapOfShapeTool MST 
)
void HLRBRep_Data::InitInterference ( )
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 
)
void HLRBRep_Data::LocalLEGeometry2D ( const Standard_Real  Param,
gp_Dir2d Tg,
gp_Dir2d Nm,
Standard_Real Cu 
)
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 ( )
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 
)
Standard_Boolean HLRBRep_Data::SimpleHidingFace ( ) const
Standard_ShortReal HLRBRep_Data::Tolerance ( ) const
void HLRBRep_Data::Tolerance ( const Standard_ShortReal  tol)
void HLRBRep_Data::Update ( const HLRAlgo_Projector P)
void HLRBRep_Data::Write ( const Handle< HLRBRep_Data > &  DS,
const Standard_Integer  dv,
const Standard_Integer  de,
const Standard_Integer  df 
)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines