public class PixelPos extends Point2D.Double
PixelPos
represents a position or point in a pixel coordinate system.Point2D.Double, Point2D.Float
x, y
Constructor and Description |
---|
PixelPos()
Constructs and initializes a
PixelPos with coordinate (0, 0). |
PixelPos(double x,
double y)
Constructs and initializes a
PixelPos with the specified coordinate. |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid()
Tests whether or not this pixel position is valid.
|
void |
setInvalid()
Sets this pixel position so that is becomes invalid.
|
getX, getY, setLocation, toString
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, hashCode, setLocation
public PixelPos()
PixelPos
with coordinate (0, 0).public PixelPos(double x, double y)
PixelPos
with the specified coordinate.x
- the x component of the coordinatey
- the y component of the coordinateCopyright © 2014–2016 European Space Agency (ESA). All rights reserved.