Open CASCADE Technology  7.5.0
Public Member Functions

HLRAlgo_EdgeStatus Class Reference

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

#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>. More...
 
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>. More...
 
void Bounds (Standard_Real &theStart, Standard_ShortReal &theTolStart, Standard_Real &theEnd, Standard_ShortReal &theTolEnd) 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 ). More...
 
void HideAll ()
 Hide the whole Edge. More...
 
void ShowAll ()
 Show the whole Edge. More...
 
Standard_Boolean AllHidden () const
 
void AllHidden (const Standard_Boolean B)
 
Standard_Boolean AllVisible () const
 
void AllVisible (const Standard_Boolean B)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ HLRAlgo_EdgeStatus() [1/2]

HLRAlgo_EdgeStatus::HLRAlgo_EdgeStatus ( )

◆ HLRAlgo_EdgeStatus() [2/2]

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>.

Member Function Documentation

◆ AllHidden() [1/2]

Standard_Boolean HLRAlgo_EdgeStatus::AllHidden ( ) const
inline

◆ AllHidden() [2/2]

void HLRAlgo_EdgeStatus::AllHidden ( const Standard_Boolean  B)
inline

◆ AllVisible() [1/2]

Standard_Boolean HLRAlgo_EdgeStatus::AllVisible ( ) const
inline

◆ AllVisible() [2/2]

void HLRAlgo_EdgeStatus::AllVisible ( const Standard_Boolean  B)
inline

◆ Bounds()

void HLRAlgo_EdgeStatus::Bounds ( Standard_Real theStart,
Standard_ShortReal theTolStart,
Standard_Real theEnd,
Standard_ShortReal theTolEnd 
) const
inline

◆ Hide()

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 
)

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 ).

◆ HideAll()

void HLRAlgo_EdgeStatus::HideAll ( )
inline

Hide the whole Edge.

◆ Initialize()

void HLRAlgo_EdgeStatus::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>.

◆ NbVisiblePart()

Standard_Integer HLRAlgo_EdgeStatus::NbVisiblePart ( ) const

◆ ShowAll()

void HLRAlgo_EdgeStatus::ShowAll ( )
inline

Show the whole Edge.

◆ VisiblePart()

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: