fr.ifremer.isisfish.map
Interface Scale

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DefaultScale

public interface Scale
extends java.io.Serializable

This interface allows the user to define a graduation between 0.0 and 1.0 whose movement are proportionnal to a bounded value. Created: Mon Apr 22 16:36:05 2002

Version:
$Revision: 2771 $
Author:

Method Summary
 int getValueAsRGB(double value)
           
 double getValueAsScale(double value)
          Get the corresponding value between 0.0 and 1.0.
 double getValueAsSqrtScale(double value)
          Get the corresponding square root value between 0.0 and 1.0.
 

Method Detail

getValueAsScale

double getValueAsScale(double value)
Get the corresponding value between 0.0 and 1.0.

Parameters:
value - value to get scale
Returns:
scale value

getValueAsRGB

int getValueAsRGB(double value)

getValueAsSqrtScale

double getValueAsSqrtScale(double value)
Get the corresponding square root value between 0.0 and 1.0.

Parameters:
value - value to get sqrt scale
Returns:
sqrt scale


Copyright © 1999-2010 CodeLutin. All Rights Reserved.