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.
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!
Copyright 2010 Cytoscape Consortium. All rights reserved.