public static void writePolyhedralSurface ( ByteWriter writer , PolyhedralSurface polyhedralSurface ) throws IOException { writer . writeInt ( polyhedralSurface . numPolygons ( ) ) ; for ( Polygon polygon : polyhedralSurface . getPolygons ( ) ) { writeGeometry ( writer , polygon ) ; } }
Write a Polyhedral Surface