public class DefaultSmallestEnclosingRectangle extends AbstractUnaryFunctionOp<Polygon2D,Polygon2D> implements Contingent, Ops.Geometric.SmallestEnclosingBoundingBox
geom.smallestBoundingBox
.SpecialOp.Flavor
NAME
Constructor and Description |
---|
DefaultSmallestEnclosingRectangle() |
Modifier and Type | Method and Description |
---|---|
Polygon2D |
calculate(Polygon2D input)
Calculates the output given some input.
|
boolean |
conforms()
True if the contingency holds; i.e., the current circumstances conform to
the contingency's requirements.
|
void |
initialize()
Initializes the object.
|
in, out, run, setInput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
calculate, getIndependentInstance, run
run
candidates, filterArity, op
public void initialize()
Initializable
initialize
in interface Initializable
public Polygon2D calculate(Polygon2D input)
UnaryFunctionOp
calculate
in interface UnaryFunctionOp<Polygon2D,Polygon2D>
input
- Argument to the functionpublic boolean conforms()
Contingent
conforms
in interface Contingent
Copyright © 2014–2022 ImageJ. All rights reserved.