Package com.io7m.smfj.core

## Interface SMFTrianglesType

- All Known Implementing Classes:
    `SMFTriangles`

      @Immutable
      public interface SMFTrianglesType

  Information about triangles in a mesh.

- - ### Method Summary

    All Methods Instance Methods Default Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `default void` | `checkPreconditions()` | Check preconditions for the type.
    `default long` | `triangleCount()` |
    `default int` | `triangleIndexSizeBits()` |
    `default int` | `triangleIndexSizeOctets()` |
    `default int` | `triangleSizeOctets()` |

- - ### Method Detail

    - #### triangleCount

          @Parameter
          @Default
          default long triangleCount()

      Returns:
        The number of triangles in the file

    - #### triangleIndexSizeBits

          @Parameter
          @Default
          default int triangleIndexSizeBits()

      Returns:
        The size in bits of each triangle index

    - #### triangleIndexSizeOctets

          @Derived
          default int triangleIndexSizeOctets()

      Returns:
        The size in octets of each triangle index

    - #### triangleSizeOctets

          @Derived
          default int triangleSizeOctets()

      Returns:
        The size in octets of each triangle

    - #### checkPreconditions

          @Check
          default void checkPreconditions()

      Check preconditions for the type.