Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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 double Start, const float TolStart, const double End, const float TolEnd)
 Creates a new EdgeStatus. Default visible. The Edge is bounded by the interval <Start>, <End> with the tolerances <TolStart>, <TolEnd>.
 
void Initialize (const double Start, const float TolStart, const double End, const float TolEnd)
 Initialize an EdgeStatus. Default visible. The Edge is bounded by the interval <Start>, <End> with the tolerances <TolStart>, <TolEnd>.
 
void Bounds (double &theStart, float &theTolStart, double &theEnd, float &theTolEnd) const
 
int NbVisiblePart () const
 
void VisiblePart (const int Index, double &Start, float &TolStart, double &End, float &TolEnd) const
 
void Hide (const double Start, const float TolStart, const double End, const float TolEnd, const bool OnFace, const bool 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.
 
bool AllHidden () const
 
void AllHidden (const bool B)
 
bool AllVisible () const
 
void AllVisible (const bool 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 TheSequenceof 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 double Start,
const float TolStart,
const double End,
const float 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]

bool HLRAlgo_EdgeStatus::AllHidden ( ) const
inline

◆ AllHidden() [2/2]

void HLRAlgo_EdgeStatus::AllHidden ( const bool B)
inline

◆ AllVisible() [1/2]

bool HLRAlgo_EdgeStatus::AllVisible ( ) const
inline

◆ AllVisible() [2/2]

void HLRAlgo_EdgeStatus::AllVisible ( const bool B)
inline

◆ Bounds()

void HLRAlgo_EdgeStatus::Bounds ( double & theStart,
float & theTolStart,
double & theEnd,
float & theTolEnd ) const
inline

◆ Hide()

void HLRAlgo_EdgeStatus::Hide ( const double Start,
const float TolStart,
const double End,
const float TolEnd,
const bool OnFace,
const bool 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 double Start,
const float TolStart,
const double End,
const float TolEnd )

Initialize an EdgeStatus. Default visible. The Edge is bounded by the interval <Start>, <End> with the tolerances <TolStart>, <TolEnd>.

◆ NbVisiblePart()

int HLRAlgo_EdgeStatus::NbVisiblePart ( ) const

◆ ShowAll()

void HLRAlgo_EdgeStatus::ShowAll ( )
inline

Show the whole Edge.

◆ VisiblePart()

void HLRAlgo_EdgeStatus::VisiblePart ( const int Index,
double & Start,
float & TolStart,
double & End,
float & TolEnd ) const

The documentation for this class was generated from the following file: