|
Open CASCADE Technology
6.5.4
|
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 | |
| DEFINE_STANDARD_ALLOC | 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) |
| HLRAlgo_EdgeStatus::HLRAlgo_EdgeStatus | ( | const Standard_Real | Start, |
| const Standard_ShortReal | TolStart, | ||
| const Standard_Real | End, | ||
| const Standard_ShortReal | TolEnd | ||
| ) |
| 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::Initialize | ( | const Standard_Real | Start, |
| const Standard_ShortReal | TolStart, | ||
| const Standard_Real | End, | ||
| const Standard_ShortReal | TolEnd | ||
| ) |
| void HLRAlgo_EdgeStatus::VisiblePart | ( | const Standard_Integer | Index, |
| Standard_Real & | Start, | ||
| Standard_ShortReal & | TolStart, | ||
| Standard_Real & | End, | ||
| Standard_ShortReal & | TolEnd | ||
| ) | const |
1.8.0