getDimension(CoordinateSequence seq) Determines the dimension of a coordinate sequence.
Method Detail
getDimension
public static int getDimension(CoordinateSequence seq)(Code)
Determines the dimension of a coordinate sequence. This is based off of
the first coordinate in the sequence.
Parameters: seq - The coordinate sequence in question. The best guess at a dimension, -1 if it can not be determined.