ilog.views.maps.geometry
Interface IlvMapSegmentStringInterface

All Known Implementing Classes:
IlvMapArcString, IlvMapBezierString, IlvMapCurveString, IlvMapLineString, IlvMapSegmentString

public interface IlvMapSegmentStringInterface

This interface defines the methods that must be implemented by any segment string object.

Since:
JViews 3.5

Method Summary
 IlvMapSegment getSegment(int index)
          Retrieves the segment at specified position.
 int getSegmentCount()
          Returns the number of segments composing this string.
 void removeAll()
          Removes all the segments contained in this string.
 

Method Detail

getSegmentCount

int getSegmentCount()
Returns the number of segments composing this string.


getSegment

IlvMapSegment getSegment(int index)
Retrieves the segment at specified position.

Parameters:
index - The position of the segment. This index must be between 0 and getSegmentCount() - 1.
Returns:
The segment at the specified position.

removeAll

void removeAll()
Removes all the segments contained in this string.



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