| java.lang.Object org.geotools.data.oracle.sdo.Coordinates
Coordinates | public class Coordinates (Code) | | HelperClass for dealing with JTS14 CoordianteSequences.
JTS14 does not supply suffiecnt API to allow the modification of
CoordinateSequence in a lossless manner. To make full use of this class
your CoordianteSequence will need to support the additional methods
outlined in CoordinateAccess.
author: bowens , Refractions Research, Inc. author: $Author: jgarnett $ (last modification) version: $Id: Coordinates.java 23604 2006-12-27 09:53:19Z aaime $ |
Method Summary | |
public static int | D(CoordinateSequence cs) | public static int | L(CoordinateSequence cs) | public static int | LEN(CoordinateSequence cs) | public static void | append(StringBuffer buf, CoordinateSequence cs, int coordinate, NumberFormat nf) | public static void | append(StringBuffer buf, CoordinateSequence cs, int coordinate, int LEN, NumberFormat nf) | public static void | append(StringBuffer buf, CoordinateAccess ca, int coordinate, int LEN, NumberFormat nf) | public static void | append(StringBuffer buf, CoordinateSequence cs, NumberFormat nf) | public static void | append(StringBuffer buf, CoordinateAccess ca, NumberFormat nf) | public static NumberFormat | format(PrecisionModel pm) | public static CoordinateSequence | reverse(CoordinateSequenceFactory factory, CoordinateSequence sequence) | public static CoordinateSequence | subList(CoordinateSequenceFactory factory, CoordinateSequence sequence, int fromIndex, int toIndex) Sublist opperation for CoordinateSequence.
Opperates in the same manner as corrasponding java util List method.
Parameters: factory - factory used to manage sequence Parameters: sequence - coordinate sequence Parameters: fromIndex - - low endpoint (inclusive) of the subList. Parameters: toIndex - - high endpoint (exclusive) of the subList. | public static String | toString(CoordinateSequence cs, int coordinate, NumberFormat nf) | public static String | toString(CoordinateSequence cs, PrecisionModel pm) |
D | public static int D(CoordinateSequence cs)(Code) | | |
L | public static int L(CoordinateSequence cs)(Code) | | |
LEN | public static int LEN(CoordinateSequence cs)(Code) | | |
reverse | public static CoordinateSequence reverse(CoordinateSequenceFactory factory, CoordinateSequence sequence)(Code) | | DOCUMENT ME!
Parameters: factory - Parameters: sequence - |
subList | public static CoordinateSequence subList(CoordinateSequenceFactory factory, CoordinateSequence sequence, int fromIndex, int toIndex)(Code) | | Sublist opperation for CoordinateSequence.
Opperates in the same manner as corrasponding java util List method.
Parameters: factory - factory used to manage sequence Parameters: sequence - coordinate sequence Parameters: fromIndex - - low endpoint (inclusive) of the subList. Parameters: toIndex - - high endpoint (exclusive) of the subList. sublist of sequence (start,end] as provided by factory |
toString | public static String toString(CoordinateSequence cs, PrecisionModel pm)(Code) | | |
|
|