Interface SurfaceIterator

All Known Implementing Classes:
SubdivisionIterator

public interface SurfaceIterator
An iterator describing a surface embedded in a space that has three dimensions. The surface is described by a series of segments, with the segments appearing in an arbitrary order.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    A segment of a surface is a cubic Bézier patch.
    static final int
    A segment of a surface is a cubic Bézier triangle For this type of segment, there are 10 control points for a total of 30 double- or single-precision values.
    static final int
    A segment of a surface is a cubic-vertex triangle.
    static final int
    A segment of a surface is a planar triangle For this type of segment, there are 3 control points for a total of 9 double- or single-precision values.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the color for the current segment.
    int
    currentSegment(double[] coords)
    Get the current segment using double-precision values.
    int
    currentSegment(float[] coords)
    Get the current segment using single-precision values.
    Return the tag for the current segment.
    boolean
    Return true if iteration is complete.
    boolean
    Determine if a segment is from an oriented surface.
    void
    Move to the next segment.