src/main/java/mil/nga/sf/wkb/GeometryWriter.java
public static void writeTIN(ByteWriter writer, TIN tin) throws IOException {

		writer.writeInt(tin.numPolygons());

		for (Polygon polygon : tin.getPolygons()) {
			writeGeometry(writer, polygon);
		}
	}
public static void writeTIN(ByteWriter writer, TIN tin) throws IOException {

		writer.writeInt(tin.numPolygons());

		for (Polygon polygon : tin.getPolygons()) {
			writeGeometry(writer, polygon);
		}
	}
public static void writeTIN ( ByteWriter writer , TIN tin ) throws IOException { writer . writeInt ( tin . numPolygons ( ) ) ; for ( Polygon polygon : tin . getPolygons ( ) ) { writeGeometry ( writer , polygon ) ; } }
Write a TIN

@param writer
@param tin
@throws IOException
Write a TIN