Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## de.rico.engine.geometry.comparator
Class AlphaComparator

    java.lang.Object
      de.rico.engine.geometry.comparator.AlphaComparator

All Implemented Interfaces:
  java.util.Comparator<AbstractMesh>

    public class AlphaComparator

extends java.lang.Object
implements java.util.Comparator<AbstractMesh>

This is a comparator class that can be used to compare the transparency values (i.e. alpha values) of a mesh

Author:
  Frank Bruns

Constructor Summary
`AlphaComparator()`

Method Summary
`int` | `compare(AbstractMesh mesh1, AbstractMesh mesh2)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface java.util.Comparator
`equals`

Constructor Detail

### AlphaComparator

    public AlphaComparator()

Method Detail

### compare

    public int compare(AbstractMesh mesh1,
                       AbstractMesh mesh2)

  Specified by:
    `compare` in interface `java.util.Comparator<AbstractMesh>`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD