JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d
Interface JCContourMapping

All Known Implementing Classes:
JCContour

public interface JCContourMapping

Interface that defines a contour mapping from contour levels to indices within the contour styles list


Method Summary
 int contourIndex(int level)
          Provides a mapping from contour levels to the contour styles list.
 

Method Detail

contourIndex

public int contourIndex(int level)
Provides a mapping from contour levels to the contour styles list. Given a level (indexed from 0), returns the index of the contour style that JClass Chart 3D should use for this level. The default mapping evenly distributes the styles through the number of levels.

Note that the returned index should be a number between 0 and (n-1) where n is the current number of contour styles. This is not checked by the chart.

Parameters:
level - The level whose contour index is to be computed

Copyright © 2004 Quest Software Inc..
All rights reserved.