ilog.views.maps.geometry
Class IlvMapPoint

java.lang.Object
  extended by ilog.views.maps.IlvMapGeometry
      extended by ilog.views.maps.geometry.IlvMapPoint

public class IlvMapPoint
extends IlvMapGeometry

This class defines a point.

Since:
ILOG JViews 3.0

Constructor Summary
IlvMapPoint()
          Initializes an instance of IlvMapPoint
IlvMapPoint(IlvCoordinate point)
          Initializes an IlvMapPoint with the specified coordinate.
 
Method Summary
 Rectangle2D getBounds(Rectangle2D result)
          Returns the bounds of this IlvMapGeometry
 IlvCoordinate getPoint()
          Returns the position of the point.
 void setPoint(IlvCoordinate point)
          Changes the value of the coordinate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvMapPoint

public IlvMapPoint()
Initializes an instance of IlvMapPoint


IlvMapPoint

public IlvMapPoint(IlvCoordinate point)
Initializes an IlvMapPoint with the specified coordinate.

Parameters:
point - the coordinate of the point. The object is not copied.
Method Detail

setPoint

public final void setPoint(IlvCoordinate point)
Changes the value of the coordinate.

Parameters:
point - the coordinate of the point. The object is not copied.

getPoint

public final IlvCoordinate getPoint()
Returns the position of the point.


getBounds

public Rectangle2D getBounds(Rectangle2D result)
Returns the bounds of this IlvMapGeometry

Specified by:
getBounds in class IlvMapGeometry


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