com.io7m.smfj.parser.api

## Interface SMFParserEventsDataTrianglesType

- All Superinterfaces:
    SMFParserEventsErrorType
  All Known Implementing Classes:
    SMFByteBufferPackedMeshes, SMFByteBufferTrianglePacker, SMFFCopier, SMFMemoryMeshProducer, SMFParserEventsDataTrianglesIgnoringReceiver

      public interface SMFParserEventsDataTrianglesType
      extends SMFParserEventsErrorType

  A receiver of parse events for triangle data.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onDataTriangle(long v0, long v1, long v2)` A triangle has been parsed.
    `void` | `onDataTrianglesFinish()` Parsing of triangles has completed.

    - ### Methods inherited from interface com.io7m.smfj.parser.api.SMFParserEventsErrorType

      `onError, onWarning`

- - ### Method Detail

    - #### onDataTriangle

          void onDataTriangle(long v0,
                              long v1,
                              long v2)

      A triangle has been parsed.
      Parameters:
        `v0` - The index of the first vertex
        `v1` - The index of the second vertex
        `v2` - The index of the third vertex

    - #### onDataTrianglesFinish

          void onDataTrianglesFinish()

      Parsing of triangles has completed.

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