public static void writeTriangle(ByteWriter writer, Triangle triangle)
			throws IOException {

		writer.writeInt(triangle.numRings());

		for (LineString ring : triangle.getRings()) {
			writeLineString(writer, ring);
		}
	}
public static void writeTriangle(ByteWriter writer, Triangle triangle)
			throws IOException {

		writer.writeInt(triangle.numRings());

		for (LineString ring : triangle.getRings()) {
			writeLineString(writer, ring);
		}
	}
public static void writeTriangle ( ByteWriter writer , Triangle triangle ) throws IOException { writer . writeInt ( triangle . numRings ( ) ) ; for ( LineString ring : triangle . getRings ( ) ) { writeLineString ( writer , ring ) ; } }
Write a Triangle

@param writer
@param triangle
@throws IOException
Write a Triangle