Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

gugr::eventrec Struct Reference

#include <gugr_planesweep.h>

List of all members.

Public Methods

 eventrec (const point2< rational > &akey)
 ~eventrec ()
bool IsEmpty ()
void * operator new (size_t s)
void operator delete (void *p, size_t s)

Public Attributes

point2< rational > key
List< ListNode< segment *> > BV
List< ListNode< segment *> > B
List< ListNode< Map< linerec
>::Node > > 
E
List< ListNode< linepair > > I
linerecEV


Constructor & Destructor Documentation

gugr::eventrec::eventrec const point2< rational > &    akey [inline]
 

Definition at line 222 of file gugr_planesweep.h.

References key.

Referenced by operator delete().

00222 { key = akey; EV = 0; }

gugr::eventrec::~eventrec   [inline]
 

Definition at line 223 of file gugr_planesweep.h.

References B, BV, E, and I.

00224   {
00225     BV.DeleteElems();
00226     B.DeleteElems();
00227     E.DeleteElems();
00228     I.DeleteElems();
00229   }  


Member Function Documentation

bool gugr::eventrec::IsEmpty   [inline]
 

Definition at line 230 of file gugr_planesweep.h.

References B, BV, E, and I.

00231   {
00232     return( (BV.nElems == 0) && (B.nElems == 0) && E.IsEmpty() &&
00233             (I.nElems == 0) && (EV == 0) );
00234   }

void gugr::eventrec::operator delete void *    p,
size_t    s
[inline]
 

Definition at line 242 of file gugr_planesweep.h.

References eventrec(), and gust::PoolFree().

00243   {
00244     if( p != 0 ) PoolFree( p, s );
00245   }

void* gugr::eventrec::operator new size_t    s [inline]
 

Definition at line 235 of file gugr_planesweep.h.

References gust::PoolAlloc().

00236   {
00237     size_t dummy;
00238     void *p = PoolAlloc( s, &dummy );
00239     if( p == NULL ) throw PoolAllocError();
00240     return(p);
00241   }


Member Data Documentation

List< ListNode<segment *> > gugr::eventrec::B
 

Definition at line 217 of file gugr_planesweep.h.

Referenced by IsEmpty(), and ~eventrec().

List< ListNode<segment *> > gugr::eventrec::BV
 

Definition at line 216 of file gugr_planesweep.h.

Referenced by IsEmpty(), and ~eventrec().

List< ListNode< Map<linerec>::Node > > gugr::eventrec::E
 

Definition at line 218 of file gugr_planesweep.h.

Referenced by IsEmpty(), and ~eventrec().

linerec* gugr::eventrec::EV
 

Definition at line 220 of file gugr_planesweep.h.

List<ListNode<linepair> > gugr::eventrec::I
 

Definition at line 219 of file gugr_planesweep.h.

Referenced by IsEmpty(), and ~eventrec().

point2<rational> gugr::eventrec::key
 

Definition at line 215 of file gugr_planesweep.h.

Referenced by eventrec().


The documentation for this struct was generated from the following file:
Generated on Mon Jan 21 04:17:54 2002 for GUL 0.6 - Geometry Utility Library by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001