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