Class PackedCSBuilder.Float
- Object
- 
- PackedCSBuilder
- 
- Float
 
 
- 
- All Implemented Interfaces:
- CSBuilder
 - Enclosing class:
- PackedCSBuilder
 
 public static class PackedCSBuilder.Float extends PackedCSBuilder 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class PackedCSBuilderPackedCSBuilder.Double, PackedCSBuilder.Float
 
- 
 - 
Constructor SummaryConstructors Constructor Description Float()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CoordinateSequenceend()Stops the coordinate sequence building and returns the resultdoublegetOrdinate(int ordinateIndex, int coordinateIndex)Gets an ordinate in the specified coordinatevoidsetOrdinate(double value, int ordinateIndex, int coordinateIndex)Sets and ordinate in the specified coordinatevoidsetOrdinate(CoordinateSequence sequence, double value, int ordinateIndex, int coordinateIndex)Utility method that allows to set an ordinate in an already built coordinate sequence Needed because the CoordinateSequence interface does not expose itvoidstart(int size, int dimensions)Starts the building of a new coordinate sequence- 
Methods inherited from class PackedCSBuildergetDimension, getSize
 
- 
 
- 
- 
- 
Method Detail- 
startpublic void start(int size, int dimensions)Description copied from interface:CSBuilderStarts the building of a new coordinate sequence- Parameters:
- size- - the number of coordinates in the coordinate sequence
- dimensions- - the dimension of the coordinates in the coordinate sequence, may be ignored if the coordinate sequence does not support variabile dimensions
- See Also:
- org.geotools.geometry.coordinatesequence.CSBuilder#start(int, int)
 
 - 
endpublic CoordinateSequence end() Description copied from interface:CSBuilderStops the coordinate sequence building and returns the result- See Also:
- org.geotools.geometry.coordinatesequence.CSBuilder#end()
 
 - 
setOrdinatepublic void setOrdinate(double value, int ordinateIndex, int coordinateIndex)Description copied from interface:CSBuilderSets and ordinate in the specified coordinate- See Also:
- org.geotools.geometry.coordinatesequence.CSBuilder#setOrdinate(double, int, int)
 
 - 
setOrdinatepublic void setOrdinate(CoordinateSequence sequence, double value, int ordinateIndex, int coordinateIndex) Description copied from interface:CSBuilderUtility method that allows to set an ordinate in an already built coordinate sequence Needed because the CoordinateSequence interface does not expose it- See Also:
- org.geotools.geometry.coordinatesequence.CSBuilder#setOrdinate(org.locationtech.jts.geom.CoordinateSequence, double, int, int)
 
 - 
getOrdinatepublic double getOrdinate(int ordinateIndex, int coordinateIndex)Description copied from interface:CSBuilderGets an ordinate in the specified coordinate- See Also:
- org.geotools.geometry.coordinatesequence.CSBuilder#getOrdinate(int, int)
 
 
- 
 
-