ilog.views.maps.geometry
Interface IlvMapMultiPointInterface

All Known Implementing Classes:
IlvMapLineString, IlvMapMultiPoint

public interface IlvMapMultiPointInterface

This class defines a common interface for all the geometries or geometry-related classes that own an ordered list of points.

Since:
ILOG JViews 3.0

Method Summary
 void addPoint(IlvCoordinate c)
          Adds a coordinate at the end of the object.
 IlvCoordinate getPoint(int index)
          Returns the coordinate of the specified index.
 int getPointCount()
          Returns the number of points in the object.
 void removeAll()
          Removes all the coordinates from the object.
 boolean removePoint(IlvCoordinate c)
          Removes a coordinate from the object.
 

Method Detail

removeAll

void removeAll()
Removes all the coordinates from the object.


removePoint

boolean removePoint(IlvCoordinate c)
Removes a coordinate from the object.

Parameters:
c - the coordinate to remove.
Returns:
true if the coordinate was in the object.

getPointCount

int getPointCount()
Returns the number of points in the object.


addPoint

void addPoint(IlvCoordinate c)
Adds a coordinate at the end of the object.

Parameters:
c - the coordinate.

getPoint

IlvCoordinate getPoint(int index)
Returns the coordinate of the specified index.

Parameters:
index - the index.


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