com.io7m.r2.meshes

## Interface R2MeshType

- All Known Subinterfaces:
    R2MeshBasicType, R2MeshTangentsType
  All Known Implementing Classes:
    R2MeshBasic, R2MeshTangents

      public interface R2MeshType

  The type of meshes.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `<A,E extends Exception> A` | `matchMesh(com.io7m.jfunctional.PartialFunctionType<R2MeshBasicType,A,E> on_basic, com.io7m.jfunctional.PartialFunctionType<R2MeshTangentsType,A,E> on_tangents)` Match a mesh type.

- - ### Method Detail

    - #### matchMesh

          <A,E extends Exception> A matchMesh(com.io7m.jfunctional.PartialFunctionType<R2MeshBasicType,A,E> on_basic,
                                              com.io7m.jfunctional.PartialFunctionType<R2MeshTangentsType,A,E> on_tangents)
                                       throws E extends Exception

      Match a mesh type.
      Type Parameters:
        `A` - The type of returned values
        `E` - The type of raised exceptions
      Parameters:
        `on_basic` - Evaluated on basic meshes
        `on_tangents` - Evaluated on meshes with tangents
      Returns:
        A value of `A`
      Throws:
        `E` - If the given functions raise `E`
        `E extends Exception`

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