com.androidplot
Class LineRegion
java.lang.Object
com.androidplot.LineRegion
public class LineRegion
- extends Object
A one dimensional region represented by a starting and ending value.
LineRegion
public LineRegion(Number val1,
Number v2)
measure
public static Number measure(Number val1,
Number val2)
length
public Number length()
contains
public boolean contains(Number value)
- Tests whether a value is within the given range
- Parameters:
value
-
- Returns:
intersects
public boolean intersects(LineRegion lineRegion)
intersects
public boolean intersects(Number line2Min,
Number line2Max)
- Tests whether this segment intersects another
- Parameters:
line2Min
- line2Max
-
- Returns:
getMinVal
public Number getMinVal()
setMinVal
public void setMinVal(Number minVal)
getMaxVal
public Number getMaxVal()
setMaxVal
public void setMaxVal(Number maxVal)
Copyright © 2010-2013 androidplot.com. All Rights Reserved.