Home

PHLV5_SEGMENT Class Reference
[Precise Hidden Line Removal V5]

Defines an PHLV5 segment. More...

#include <phlv5_seg.hxx>

Inherits ENTITY_PHLV5.

Collaboration diagram for PHLV5_SEGMENT:

Collaboration graph
[legend]

List of all members.

Protected Member Functions

double end_pt () const
 Returns the end visibility parameter of the segment.
SPAinterval intval () const
 Returns the visibility interval of the segment.
 PHLV5_SEGMENT (phlv5_segment &_in_segment)
 C++ copy constructor.
 PHLV5_SEGMENT (SPAinterval const &iv, Phlv5SegSta st, Phlv5SegVis vi, logical persistable=TRUE)
 C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.
 PHLV5_SEGMENT ()
 C++ allocation constructor requests memory for this object but does not populate it.
double start_pt () const
 Returns the start visibility parameter of the segment.
Phlv5SegSta state () const
 Returns the state of the segment.
Phlv5SegVis visibility () const
 Returns the visibility of the segment.


Detailed Description

Defines an PHLV5 segment.


Role: The PHLV5_SEGMENT contains information about each section of the edge, including its visibility and parameter range data.

See also:
PHLV5_EDGE, SPAinterval

Constructor & Destructor Documentation

PHLV5_SEGMENT::PHLV5_SEGMENT (  )  [protected]

C++ allocation constructor requests memory for this object but does not populate it.



Role: The allocation constructor is used primarily by restore. Applications should call this constructor only with the overloaded new operator, because this reserves the memory on the heap, a requirement to support roll back and history management.

PHLV5_SEGMENT::PHLV5_SEGMENT ( SPAinterval const &  iv,
Phlv5SegSta  st,
Phlv5SegVis  vi,
logical  persistable = TRUE 
) [protected]

C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.



Role: Applications should call this constructor only with the overloaded new operator, because this reserves the memory on the heap, a requirement to support roll back and history management.

Constructs an instance, initializing the parameter interval, state, and visibility to the given values.

Parameters:
iv parameter interval.
st state.
vi visibility.

PHLV5_SEGMENT::PHLV5_SEGMENT ( phlv5_segment &  _in_segment  )  [inline, protected]

C++ copy constructor.



Parameters:
_in_segment segment to copy.


Member Function Documentation

double PHLV5_SEGMENT::end_pt (  )  const [inline, protected]

Returns the end visibility parameter of the segment.

SPAinterval PHLV5_SEGMENT::intval (  )  const [inline, protected]

Returns the visibility interval of the segment.

double PHLV5_SEGMENT::start_pt (  )  const [inline, protected]

Returns the start visibility parameter of the segment.

Phlv5SegSta PHLV5_SEGMENT::state (  )  const [inline, protected]

Returns the state of the segment.

Phlv5SegVis PHLV5_SEGMENT::visibility (  )  const [inline, protected]

Returns the visibility of the segment.