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, ZEROFields 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, toIntArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface imagingbook.common.geometry.basic.Pnt2d
cross, distance, distanceSq, distL1, distL2, dot, equals, getDistance, getShape, minus, mult, perp, plus, toAwtPoint2D, toDoubleArray, toRealVector, toVector2DMethods 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:
compareToin interfaceComparable<LocalMinMaxFinder.ExtremalPoint>
-
toString
- Overrides:
toStringin classPnt2d.PntInt
-