org.rosuda.ibase.toolkit
Class MapSegmentTools
java.lang.Object
org.rosuda.ibase.toolkit.MapSegmentTools
public class MapSegmentTools
- extends Object
this class provides a few toolkit-specific tools for handling MapSegments
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapSegmentTools
public MapSegmentTools()
transViaAxisX
public static int[] transViaAxisX(MapSegment ms,
int id,
Axis a)
- transform X coordinates of a
MapSegment according to the specified Axis and return the result.
- Parameters:
ms - map segment to transformid - which segment entry to transformaxis - to be used for transformation
- Returns:
- transformed X axis as an array of integers
transViaAxisY
public static int[] transViaAxisY(MapSegment ms,
int id,
Axis a)
- transform Y coordinates of a
MapSegment according to the specified Axis and return the result.
- Parameters:
ms - map segment to transformid - which segment entry to transformaxis - to be used for transformation
- Returns:
- transformed Y axis as an array of integers