Open CASCADE Technology 6.6.0
Public Member Functions
HLRAlgo_EdgeStatus Class Reference

This class describes the Hidden Line status of an
Edge. It contains :

The Bounds of the Edge and their tolerances

Two flags indicating if the edge is full visible
or full hidden.

The Sequence of visible Intervals on the Edge.

#include <HLRAlgo_EdgeStatus.hxx>

Public Member Functions

 HLRAlgo_EdgeStatus ()
 HLRAlgo_EdgeStatus (const Standard_Real Start, const Standard_ShortReal TolStart, const Standard_Real End, const Standard_ShortReal TolEnd)
 Creates a new EdgeStatus. Default visible. The
Edge is bounded by the interval <Start>, <End>
with the tolerances <TolStart>, <TolEnd>.

void Initialize (const Standard_Real Start, const Standard_ShortReal TolStart, const Standard_Real End, const Standard_ShortReal TolEnd)
 Initialize an EdgeStatus. Default visible. The
Edge is bounded by the interval <Start>, <End>
with the tolerances <TolStart>, <TolEnd>.

void Bounds (Standard_Real &Start, Standard_ShortReal &TolStart, Standard_Real &End, Standard_ShortReal &TolEnd) const
Standard_Integer NbVisiblePart () const
void VisiblePart (const Standard_Integer Index, Standard_Real &Start, Standard_ShortReal &TolStart, Standard_Real &End, Standard_ShortReal &TolEnd) const
void Hide (const Standard_Real Start, const Standard_ShortReal TolStart, const Standard_Real End, const Standard_ShortReal TolEnd, const Standard_Boolean OnFace, const Standard_Boolean OnBoundary)
 Hides the interval <Start>, <End> with the
tolerances <TolStart>, <TolEnd>. This interval is
subtracted from the visible parts. If the hidden
part is on ( or under ) the face the flag <OnFace>
is True ( or False ). If the hidden part is on (
or inside ) the boundary of the face the flag
<OnBoundary> is True ( or False ).

void HideAll ()
 Hide the whole Edge.

void ShowAll ()
 Show the whole Edge.

Standard_Boolean AllHidden () const
void AllHidden (const Standard_Boolean B)
Standard_Boolean AllVisible () const
void AllVisible (const Standard_Boolean B)

Constructor & Destructor Documentation

HLRAlgo_EdgeStatus::HLRAlgo_EdgeStatus ( )
HLRAlgo_EdgeStatus::HLRAlgo_EdgeStatus ( const Standard_Real  Start,
const Standard_ShortReal  TolStart,
const Standard_Real  End,
const Standard_ShortReal  TolEnd 
)

Member Function Documentation

Standard_Boolean HLRAlgo_EdgeStatus::AllHidden ( ) const
void HLRAlgo_EdgeStatus::AllHidden ( const Standard_Boolean  B)
void HLRAlgo_EdgeStatus::AllVisible ( const Standard_Boolean  B)
Standard_Boolean HLRAlgo_EdgeStatus::AllVisible ( ) const
void HLRAlgo_EdgeStatus::Bounds ( Standard_Real Start,
Standard_ShortReal TolStart,
Standard_Real End,
Standard_ShortReal TolEnd 
) const
void HLRAlgo_EdgeStatus::Hide ( const Standard_Real  Start,
const Standard_ShortReal  TolStart,
const Standard_Real  End,
const Standard_ShortReal  TolEnd,
const Standard_Boolean  OnFace,
const Standard_Boolean  OnBoundary 
)
void HLRAlgo_EdgeStatus::HideAll ( )
void HLRAlgo_EdgeStatus::Initialize ( const Standard_Real  Start,
const Standard_ShortReal  TolStart,
const Standard_Real  End,
const Standard_ShortReal  TolEnd 
)
Standard_Integer HLRAlgo_EdgeStatus::NbVisiblePart ( ) const
void HLRAlgo_EdgeStatus::ShowAll ( )
void HLRAlgo_EdgeStatus::VisiblePart ( const Standard_Integer  Index,
Standard_Real Start,
Standard_ShortReal TolStart,
Standard_Real End,
Standard_ShortReal TolEnd 
) const

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