com.orsoncharts.graphics3d

## Interface FaceSorter

- All Known Implementing Classes:
    StandardFaceSorter

      public interface FaceSorter

  An interface that must be implemented by objects that can sort faces prior to rendering (the Painter's algorithm).
  Since:
    1.3

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<Face>` | `sort(java.util.List<Face> faces, Point3D[] eyePts)` Returns a list of faces in the order that they should be painted.

- - ### Method Detail

    - #### sort

          java.util.List<Face> sort(java.util.List<Face> faces,
                                    Point3D[] eyePts)

      Returns a list of faces in the order that they should be painted.
      Parameters:
        `faces` - the faces before sorting (`null` not permitted).
        `eyePts` - the points in 3D space relative to the viewing position.
      Returns:
        An ordered list (note that the result may be the same list passed in via the `faces` argument).