Public Attributes | Public Member Functions | List of all members
interval_t Struct Reference

Detailed Description

One dimensional range.

Public Attributes

int x0
int x1

Public Member Functions

bool empty (void) const
void intersect (const interval_t &r)
void make_union (const interval_t &r)
void move_by (int shift)
 interval_t (int y0, int y1)
 interval_t (const edge_segment_t &s)
int length (void) const
bool contains (int x) const
bool operator== (const interval_t &r) const
bool operator!= (const interval_t &r) const

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