Cytoscape 2.8.0 API

cytoscape.visual.mappings
Interface Interpolator

All Known Implementing Classes:
FlatInterpolator, LinearNumberInterpolator, LinearNumberToColorInterpolator, LinearNumberToNumberInterpolator, NumberInterpolator

public interface Interpolator

This interface defines an interpolation function that takes two pairs of (domain,range) values plus a target domain value, and calculates an associated range value via some kind of interpolation. The behavior of this function is undefined if the target domain value is not equal to one of the boundaries or between them.


Method Summary
 Object getRangeValue(Object lowerDomain, Object lowerRange, Object upperDomain, Object upperRange, Object domainValue)
          DOCUMENT ME!
 

Method Detail

getRangeValue

Object getRangeValue(Object lowerDomain,
                     Object lowerRange,
                     Object upperDomain,
                     Object upperRange,
                     Object domainValue)
DOCUMENT ME!

Parameters:
lowerDomain - DOCUMENT ME!
lowerRange - DOCUMENT ME!
upperDomain - DOCUMENT ME!
upperRange - DOCUMENT ME!
domainValue - DOCUMENT ME!
Returns:
DOCUMENT ME!

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.