org.geotools.geometry.jts.coordinatesequence
Class PackedCSBuilder

java.lang.Object
  extended by org.geotools.geometry.jts.coordinatesequence.PackedCSBuilder
All Implemented Interfaces:
CSBuilder
Direct Known Subclasses:
PackedCSBuilder, PackedCSBuilder.Double, PackedCSBuilder.Float

public abstract class PackedCSBuilder
extends java.lang.Object
implements CSBuilder

An implementation of a JTS CSBuilder which uses a PackedCoordinateSequence.

Author:
wolf

Nested Class Summary
static class PackedCSBuilder.Double
           
static class PackedCSBuilder.Float
           
 
Constructor Summary
PackedCSBuilder()
           
 
Method Summary
 int getDimension()
          Returns the dimension of the coordinate sequence we are building, -1 if there is none
 int getSize()
          Returns the size of the coordinate sequence we are building, -1 if there is none
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.geotools.geometry.jts.coordinatesequence.CSBuilder
end, getOrdinate, setOrdinate, setOrdinate, start
 

Constructor Detail

PackedCSBuilder

public PackedCSBuilder()
Method Detail

getSize

public int getSize()
Description copied from interface: CSBuilder
Returns the size of the coordinate sequence we are building, -1 if there is none

Specified by:
getSize in interface CSBuilder
See Also:
CSBuilder.getSize()

getDimension

public int getDimension()
Description copied from interface: CSBuilder
Returns the dimension of the coordinate sequence we are building, -1 if there is none

Specified by:
getDimension in interface CSBuilder
See Also:
CSBuilder.getDimension()


Copyright © 1996-2010 Geotools. All Rights Reserved.