org.esa.beam.framework.datamodel
Class PixelPos

java.lang.Object
  extended by java.awt.geom.Point2D
      extended by java.awt.geom.Point2D.Float
          extended by org.esa.beam.framework.datamodel.PixelPos
All Implemented Interfaces:
Serializable, Cloneable

public class PixelPos
extends Point2D.Float

A PixelPos represents a position or point in a pixel coordinate system.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.Point2D
Point2D.Double, Point2D.Float
 
Field Summary
 
Fields inherited from class java.awt.geom.Point2D.Float
x, y
 
Constructor Summary
PixelPos()
          Constructs and initializes a PixelPos with coordinate (0, 0).
PixelPos(float x, float y)
          Constructs and initializes a PixelPos with the specified coordinate.
 
Method Summary
 boolean isValid()
          Tests whether or not this pixel position is valid.
 void setInvalid()
          Sets this pixel position so that is becomes invalid.
 
Methods inherited from class java.awt.geom.Point2D.Float
getX, getY, setLocation, setLocation, toString
 
Methods inherited from class java.awt.geom.Point2D
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, hashCode, setLocation
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PixelPos

public PixelPos()
Constructs and initializes a PixelPos with coordinate (0, 0).


PixelPos

public PixelPos(float x,
                float y)
Constructs and initializes a PixelPos with the specified coordinate.

Parameters:
x - the x component of the coordinate
y - the y component of the coordinate
Method Detail

isValid

public boolean isValid()
Tests whether or not this pixel position is valid.

Returns:
true, if so

setInvalid

public void setInvalid()
Sets this pixel position so that is becomes invalid.



Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.