ilog.views
Class IlvRegion

java.lang.Object
  extended by ilog.views.IlvRegion
All Implemented Interfaces:
Serializable

public final class IlvRegion
extends Object
implements Serializable

A set of rectangles.

See Also:
Serialized Form

Constructor Summary
IlvRegion()
          Creates an empty region.
 
Method Summary
 void add(IlvRect rect)
          Adds a rectangle in the region.
 IlvRect boundingBox()
          Returns the smallest rectangle containing all the rectangles of the region.
 Enumeration elements()
          Returns an Enumeration on all the rectangles of the region
 void empty()
          Removes all the rectangles of the region.
 int getCardinal()
          Returns the number of rectangles in the region.
 IlvRect getRectAt(int index)
          Returns the rectangle at the specified index.
 boolean isEmpty()
          Returns true if the region is empty.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvRegion

public IlvRegion()
Creates an empty region.

Method Detail

boundingBox

public IlvRect boundingBox()
Returns the smallest rectangle containing all the rectangles of the region.


getCardinal

public int getCardinal()
Returns the number of rectangles in the region.


getRectAt

public IlvRect getRectAt(int index)
Returns the rectangle at the specified index.


add

public void add(IlvRect rect)
Adds a rectangle in the region.


empty

public void empty()
Removes all the rectangles of the region.


isEmpty

public boolean isEmpty()
Returns true if the region is empty.


elements

public Enumeration elements()
Returns an Enumeration on all the rectangles of the region



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.