org.jplot2d.data
Interface GraphData
-
- All Known Implementing Classes:
- ImageData, MultiBandImageData, SingleBandImageData, XYGraphData
public interface GraphDataThe common interface for graph data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description GraphDataapplyBoundary(Range xboundary, Range yboundary)Apply the new boundary on x/y direction.RangegetXRange()Returns x range which contains all valid data in x boundary.RangegetYRange()Returns y range which contains all valid data in y boundary.booleanhasPointOutsideXBounds()Returnstrueif there are valid data out of the x boundary.booleanhasPointOutsideYBounds()Returnstrueif there are valid data out of the y boundary.
-
-
-
Method Detail
-
applyBoundary
GraphData applyBoundary(Range xboundary, Range yboundary)
Apply the new boundary on x/y direction. Data outside the boundary are ignored.- Parameters:
xboundary- the new boundary to applyyboundary- the new boundary to apply- Returns:
- a new GraphData instance
-
getXRange
Range getXRange()
Returns x range which contains all valid data in x boundary. If there is no valid data in x boundary, the empty property of returned Range will be set totrue
-
getYRange
Range getYRange()
Returns y range which contains all valid data in y boundary. If there is no valid data in y boundary, the empty property of returned Range will be set totrue
-
hasPointOutsideXBounds
boolean hasPointOutsideXBounds()
Returnstrueif there are valid data out of the x boundary.- Returns:
- the flag
-
hasPointOutsideYBounds
boolean hasPointOutsideYBounds()
Returnstrueif there are valid data out of the y boundary.- Returns:
- the flag
-
-
DMelt 3.0 © DataMelt by jWork.ORG