Interface SMFSerializerDataTrianglesType

    • Method Detail

      • serializeTriangle

        void serializeTriangle​(long v0,
                               long v1,
                               long v2)
                        throws java.io.IOException,
                               java.lang.IllegalStateException
        Serialize a triangle.
        Parameters:
        v0 - The first vertex index
        v1 - The second vertex index
        v2 - The third vertex index
        Throws:
        java.lang.IllegalStateException - If the header has not yet been serialized
        java.lang.IllegalStateException - If the attribute has not yet been serialized
        java.lang.IllegalStateException - If the required number of triangles have already been serialized
        java.lang.IllegalStateException - If the serializer has previously failed
        java.io.IOException - On I/O errors