java.lang.Object
imagingbook.common.geometry.basic.Pnt2d.PntInt
imagingbook.common.image.LocalMinMaxFinder.ExtremalPoint
- All Implemented Interfaces:
Pnt2d
,Primitive2d
,ShapeProducer
,Comparable<LocalMinMaxFinder.ExtremalPoint>
- Enclosing class:
- LocalMinMaxFinder
public static class LocalMinMaxFinder.ExtremalPoint
extends Pnt2d.PntInt
implements Comparable<LocalMinMaxFinder.ExtremalPoint>
A 2D point with integer coordinates and a score value (
q
) attached.-
Nested Class Summary
Nested classes/interfaces inherited from interface imagingbook.common.geometry.basic.Pnt2d
Pnt2d.PntDouble, Pnt2d.PntInt
-
Field Summary
FieldsFields inherited from class imagingbook.common.geometry.basic.Pnt2d.PntInt
x, y, ZERO
Fields inherited from interface imagingbook.common.geometry.basic.Pnt2d
DefaultDotRadius, TOLERANCE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class imagingbook.common.geometry.basic.Pnt2d.PntInt
distanceSq, distL1, duplicate, equals, from, from, from, from, from, getX, getXint, getY, getYint, hashCode, minus, minus, minus, plus, plus, plus, plus, toAwtPoint, toIntArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface imagingbook.common.geometry.basic.Pnt2d
cross, distance, distanceSq, distL1, distL2, dot, equals, getDistance, getShape, minus, mult, perp, plus, toAwtPoint2D, toDoubleArray, toRealVector, toVector2D
Methods inherited from interface imagingbook.common.geometry.shape.ShapeProducer
getShape, getShapes, getShapes
-
Field Details
-
q
The score value.
-
-
Constructor Details
-
ExtremalPoint
Constructor.- Parameters:
x
- horizontal positiony
- vertical positionq
- score value
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<LocalMinMaxFinder.ExtremalPoint>
-
toString
- Overrides:
toString
in classPnt2d.PntInt
-