Package com.io7m.smfj.parser.api

## Interface SMFParserEventsDataTrianglesType

- All Superinterfaces:
    `SMFParserEventsErrorType`
  All Known Implementing Classes:
    `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 | 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.