com.vividsolutions.jts.geom
Class CoordinateSequences

java.lang.Object
  extended bycom.vividsolutions.jts.geom.CoordinateSequences

public class CoordinateSequences
extends java.lang.Object

Utility functions for manipulating CoordinateSequences

Version:
1.7

Constructor Summary
CoordinateSequences()
           
 
Method Summary
static void reverse(CoordinateSequence seq)
          Reverses the coordinates in a sequence in-place.
static void swap(CoordinateSequence seq, int i, int j)
          Swaps two coordinates in a sequence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoordinateSequences

public CoordinateSequences()
Method Detail

reverse

public static void reverse(CoordinateSequence seq)
Reverses the coordinates in a sequence in-place.


swap

public static void swap(CoordinateSequence seq,
                        int i,
                        int j)
Swaps two coordinates in a sequence.

Parameters:
seq -
i -
j -