### IRange

  The IRange class represents a range of IPair::Coord values between a specified lower and upper bound (inclusive).

### IRange - Member Functions and Data by Group

### Constructors & Destructor

You can construct, copy, and assign objects of this class. This class uses the compiler-generated copy constructor and assignment operator to copy and assign IRange objects.

IRange
  Constuct and destruct IRange objects.

  Overload 1

      public:
      IRange()

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

  Overload 2

      public:
      IRange(const IPair& aPair)

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

  Overload 3

      public:
      IRange(Coord lower, Coord upper)

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Coordinates

Use these members to query and change the ordered pair of integers in an IRange object.

lowerBound

      public:
      Coord lowerBound() const

  Returns the lower bound of the range.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

setLowerBound

      public:
      IRange& setLowerBound(Coord lower)

  Sets the lower bound of the range.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

setUpperBound

      public:
      IRange& setUpperBound(Coord upper)

  Sets the upper bound of the range.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

upperBound

      public:
      Coord upperBound() const

  Returns the upper bound of the range.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Testing

Use these members to test coordinate values.

includes

      public:
      bool includes(Coord aValue) const

  Returns true if the range contains the specified coordinate value.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### IRange - Inherited Member Functions and Data

#### Inherited Public Functions

  IPair

  -     IString asDebugInfo() const

  -     IString asString() const

  -     Coord coord1() const

  -     Coord coord2() const

  -     double distanceFrom(const IPair& aPair) const

  -     long dotProduct(const IPair& aPair) const

  -     IPair(Coord coord1, Coord coord2)

  -     IPair(Coord init)

  -     IPair()

  -     IPair maximum(const IPair& aPair) const

  -     IPair minimum(const IPair& aPair) const

  -     bool operator !=(const IPair& aPair) const

  -     IPair& operator %=(long divisor)

  -     IPair& operator %=(const IPair& aPair)

  -     IPair& operator *=(double multiplier)

  -     IPair& operator *=(const IPair& aPair)

  -     IPair& operator +=(const IPair& aPair)

  -     IPair operator -() const

  -     IPair& operator -=(const IPair& aPair)

  -     IPair& operator /=(const IPair& aPair)

  -     IPair& operator /=(double divisor)

  -     bool operator <(const IPair& aPair) const

  -     bool operator <=(const IPair& aPair) const

  -     bool operator ==(const IPair& aPair) const

  -     bool operator >(const IPair& aPair) const

  -     bool operator >=(const IPair& aPair) const

  -     IPair& scaleBy(double xFactor, double yFactor)

  -     IPair scaledBy(double xFactor, double yFactor) const

  -     IPair& setCoord1(Coord coord1)

  -     IPair& setCoord2(Coord coord2)

  -     IPair& transpose()

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None