public static class HoughCircles.WeightedCircle extends Circle implements Comparable<HoughCircles.WeightedCircle>
Modifier and Type | Field and Description |
---|---|
float |
weight
The weight
|
Constructor and Description |
---|
WeightedCircle(float x,
float y,
float radius,
float weight)
Construct with the given geometry and weight.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(HoughCircles.WeightedCircle o) |
asPolygon, calculateArea, calculateCentroid, calculatePerimeter, calculateRegularBoundingBox, clone, equals, getHeight, getRadius, getWidth, getX, getY, intersectionArea, intersectionArea, isConvex, isInside, maxX, maxY, minimumBoundingRectangle, minX, minY, scale, scale, scaleCentroid, setRadius, setX, setY, toString, transform, translate
public float weight
public WeightedCircle(float x, float y, float radius, float weight)
x
- the x-ordinate of the centery
- the y-ordinate of the centerradius
- the radius of the circleweight
- the associated weightpublic int compareTo(HoughCircles.WeightedCircle o)
compareTo
in interface Comparable<HoughCircles.WeightedCircle>