Geometry
Class RegionBounds

java.lang.Object
  |
  +--Geometry.RegionBounds

public class RegionBounds
extends java.lang.Object

Defines the minimum and maximum bounds a Region occupies in a projection of Slices.

Version:
Created 18 November 2002
Author:
Dan Tappan
See Also:
Region

Field Summary
 int ring_end
           
 int ring_start
           
 int sector_end
           
 int sector_start
           
 
Constructor Summary
RegionBounds()
          Creates an empty region bounds using the system-defined integer limits.
 
Method Summary
 int getRingOrigin()
          Returns the ring considered the middle between the minimum and maximum rings.
 int getSectorOrigin()
          Returns the sector considered the middle between the minimum and maximum sectors.
 boolean isDefined()
          Returns whether this region bounds has been defined.
 java.lang.String toString()
          Returns a string representation of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ring_start

public int ring_start

ring_end

public int ring_end

sector_start

public int sector_start

sector_end

public int sector_end
Constructor Detail

RegionBounds

public RegionBounds()
Creates an empty region bounds using the system-defined integer limits.

Method Detail

getRingOrigin

public int getRingOrigin()
Returns the ring considered the middle between the minimum and maximum rings.

Returns:
the center ring

getSectorOrigin

public int getSectorOrigin()
Returns the sector considered the middle between the minimum and maximum sectors.

Returns:
the center sector

isDefined

public boolean isDefined()
Returns whether this region bounds has been defined.

Returns:
the outcome

toString

public java.lang.String toString()
Returns a string representation of this class.

Overrides:
toString in class java.lang.Object
Returns:
the String representation