com.io7m.smfj.serializer.api

## Interface SMFSerializerDataTrianglesType

- All Superinterfaces:
    AutoCloseable, Closeable

      public interface SMFSerializerDataTrianglesType
      extends Closeable

  Functions for serializing triangles.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `serializeTriangle(long v0, long v1, long v2)` Serialize a triangle.

    - ### Methods inherited from interface java.io.Closeable

      `close`

- - ### Method Detail

    - #### serializeTriangle

          void serializeTriangle(long v0,
                                 long v1,
                                 long v2)
                          throws IOException,
                                 IllegalStateException

      Serialize a triangle.
      Parameters:
        `v0` - The first vertex index
        `v1` - The second vertex index
        `v2` - The third vertex index
      Throws:
        `IllegalStateException` - If the header has not yet been serialized
        `IllegalStateException` - If the attribute has not yet been serialized
        `IllegalStateException` - If the required number of triangles have already been serialized
        `IllegalStateException` - If the serializer has previously failed
        `IOException` - On I/O errors

Copyright © 2017 <code@io7m.com> http://io7m.com