Open CASCADE Technology  6.9.1
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 &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 ). 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::HLRAlgo_EdgeStatus ( )
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

Standard_Boolean HLRAlgo_EdgeStatus::AllHidden ( ) const
void HLRAlgo_EdgeStatus::AllHidden ( const Standard_Boolean  B)
Standard_Boolean HLRAlgo_EdgeStatus::AllVisible ( ) const
void HLRAlgo_EdgeStatus::AllVisible ( const Standard_Boolean  B)
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 
)

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 HLRAlgo_EdgeStatus::HideAll ( )

Hide the whole Edge.

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

Standard_Integer HLRAlgo_EdgeStatus::NbVisiblePart ( ) const
void HLRAlgo_EdgeStatus::ShowAll ( )

Show the whole Edge.

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: