OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKHLR
HLRAlgo


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

#include <HLRAlgo_EdgeStatus.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT HLRAlgo_EdgeStatus ()
Standard_EXPORT 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>.
.
Standard_EXPORT 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_EXPORT Standard_Integer NbVisiblePart () const
Standard_EXPORT void VisiblePart (const Standard_Integer Index, Standard_Real &Start, Standard_ShortReal &TolStart, Standard_Real &End, Standard_ShortReal &TolEnd) const
Standard_EXPORT 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)

Private Attributes

Standard_Real myStart
Standard_Real myEnd
Standard_ShortReal myTolStart
Standard_ShortReal myTolEnd
Standard_Boolean myFlags
Intrv_Intervals myVisibles


Constructor & Destructor Documentation

Standard_EXPORT HLRAlgo_EdgeStatus::HLRAlgo_EdgeStatus (   ) 
 

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


Member Function Documentation

void HLRAlgo_EdgeStatus::AllHidden (  const Standard_Boolean  B  )  [inline]
 

Standard_Boolean HLRAlgo_EdgeStatus::AllHidden (   )  const [inline]
 

void HLRAlgo_EdgeStatus::AllVisible (  const Standard_Boolean  B  )  [inline]
 

Standard_Boolean HLRAlgo_EdgeStatus::AllVisible (   )  const [inline]
 

void HLRAlgo_EdgeStatus::Bounds (  Standard_Real &  Start,
Standard_ShortReal &  TolStart,
Standard_Real &  End,
Standard_ShortReal &  TolEnd
)  const [inline]
 

Standard_EXPORT 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 (   )  [inline]
 

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

Standard_EXPORT Standard_Integer HLRAlgo_EdgeStatus::NbVisiblePart (   )  const
 

void HLRAlgo_EdgeStatus::operator delete (  void *  anAddress  )  [inline]
 

void* HLRAlgo_EdgeStatus::operator new (  size_t  size  )  [inline]
 

void* HLRAlgo_EdgeStatus::operator new (  size_t  ,
void *  anAddress
)  [inline]
 

void HLRAlgo_EdgeStatus::ShowAll (   )  [inline]
 

Standard_EXPORT void HLRAlgo_EdgeStatus::VisiblePart (  const Standard_Integer  Index,
Standard_Real &  Start,
Standard_ShortReal &  TolStart,
Standard_Real &  End,
Standard_ShortReal &  TolEnd
)  const
 


Field Documentation

Standard_Real HLRAlgo_EdgeStatus::myEnd [private]
 

Standard_Boolean HLRAlgo_EdgeStatus::myFlags [private]
 

Standard_Real HLRAlgo_EdgeStatus::myStart [private]
 

Standard_ShortReal HLRAlgo_EdgeStatus::myTolEnd [private]
 

Standard_ShortReal HLRAlgo_EdgeStatus::myTolStart [private]
 

Intrv_Intervals HLRAlgo_EdgeStatus::myVisibles [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 13:42:02 2008 for OpenCASCADE by  doxygen 1.4.1