HiRISE

HiRISE.HiColor
Class JitPoint

java.lang.Object
  extended by org.jfree.data.xy.XYDataItem
      extended by HiRISE.HiColor.JitPoint
All Implemented Interfaces:
Serializable, Cloneable, Comparable

public class JitPoint
extends XYDataItem

Represents a matched jitter point.

See Also:
Serialized Form

Constructor Summary
JitPoint(double line, double offset, int row, int col)
          Create a new JitPoint for the given line number, offset magnitude in pixels, row and column.
 
Method Summary
 int getCol()
          Get the column number of this point.
 int getRow()
          Get the row number of this point.
 boolean isBad()
          Returns true if the point is a poor match.
 void setBad(boolean bad)
          Set to true if the point is bad (goodness of fit greater than 1).
 
Methods inherited from class org.jfree.data.xy.XYDataItem
clone, compareTo, equals, getX, getXValue, getY, getYValue, hashCode, setY, setY, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JitPoint

public JitPoint(double line,
                double offset,
                int row,
                int col)
Create a new JitPoint for the given line number, offset magnitude in pixels, row and column.

Parameters:
line - Line number of point
offset - Pixel magnitude of offset
row - Row of point
col - Column of point
Method Detail

isBad

public boolean isBad()
Returns true if the point is a poor match.

Returns:
true for a bad point

setBad

public void setBad(boolean bad)
Set to true if the point is bad (goodness of fit greater than 1).

Parameters:
bad - True if bad

getRow

public int getRow()
Get the row number of this point.

Returns:
Row number

getCol

public int getCol()
Get the column number of this point.

Returns:
Column number

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona