org.esa.beam.framework.datamodel
Class PixelPos
java.lang.Object
java.awt.geom.Point2D
java.awt.geom.Point2D.Float
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
|
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. |
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 coordinatey - the y component of the coordinate
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.