com.io7m.smfj.processing.main

## Interface SMFMemoryMeshFilterTrianglesOptimizeConfigurationType

- All Known Implementing Classes:
    SMFMemoryMeshFilterTrianglesOptimizeConfiguration

      public interface SMFMemoryMeshFilterTrianglesOptimizeConfigurationType

  A specification of how triangles should be processed.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default void` | `checkPreconditions()` Check preconditions for the type.
    `OptionalInt` | `optimize()` A specification of whether triangles should be optimized.
    `boolean` | `validate()` A specification of whether or not triangle indices should be validated.

- - ### Method Detail

    - #### optimize

          OptionalInt optimize()

      A specification of whether triangles should be optimized. If a value is provided, it represents the smallest size in bits that an implementation is allowed to use for triangle indices. If no value is specified, optimization is not performed.
      Returns:
        The minimum size of triangle indices, if any

    - #### validate

          boolean validate()

      A specification of whether or not triangle indices should be validated. A triangle index is valid iff there is an existing vertex with the same index value.
      Returns:
        `true` iff triangle indices should be validated

    - #### checkPreconditions

          default void checkPreconditions()

      Check preconditions for the type.

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