public interface ILcdContourBuilder
TLcdPolylineContourFinder
,
or TLcdComplexPolygonContourFinder
.
createContour
is called whenever an open or closed contour for the current
level is found. startLevel
and endLevel
are called to indicate the
begin and end of a certain level.Modifier and Type  Method and Description 

void 
createContour(double[] aXCoordinates,
double[] aYCoordinates,
int aPointCount,
boolean aClosed)
Collect a single open or closed contour for the level the contour finder is calculating.

void 
endLevel()
This method is called by the contour finder when it is done finding contours for the
current level.

void 
startLevel(double aValue)
This method is called by the contour finder when it starts finding contours for a new
level, when the contour represents an exact value.

void 
startLevel(ILcdInterval aInterval)
This method is called by the contour finder when it starts finding contours for a new
level, when the contour represents a range of values (an interval).

void createContour(double[] aXCoordinates, double[] aYCoordinates, int aPointCount, boolean aClosed)
aXCoordinates
 The array of xcoordinates.aYCoordinates
 The array of ycoordinates.aPointCount
 The number of coordinates to take into account.aClosed
 Whether the given array of points represents an open or a closed contour. In
the case of a closed contour, the first and the last provided coordinate are not the same.
Some shapes, such as ILcdPolyline, require that the first and last point of a closed contour
are the same, in that case it needs to be added by the implementation.void startLevel(ILcdInterval aInterval)
aInterval
 The interval representing this level. The is the range of values represented
by the lines or areas of the contours of this level.void startLevel(double aValue)
aValue
 The value of the contour.void endLevel()