appendLinearRingTaggedText method
void
appendLinearRingTaggedText(
- LinearRing linearRing,
- List<
Ordinate> outputOrdinates, - bool useFormatting,
- int level,
- StringBuffer writer,
- NumberFormat formatter,
Converts a LinearRing
to <LinearRing Tagged Text>
format, then appends it to the writer.
@param linearRing the LinearRing
to process
@param useFormatting flag indicating that the output should be formatted
@param level the indentation level
@param writer the output writer to append to
@param formatter the NumberFormatter
to use to convert
from a precise coordinate to an external coordinate
Implementation
void appendLinearRingTaggedText(
LinearRing linearRing,
List<Ordinate> outputOrdinates,
bool useFormatting,
int level,
StringBuffer writer,
NumberFormat formatter) {
writer.write("LINEARRING ");
appendOrdinateText(outputOrdinates, writer);
appendSequenceText(linearRing.getCoordinateSequence(), outputOrdinates,
useFormatting, level, false, writer, formatter);
}