public class DefaultSmallestEnclosingRectangle extends AbstractUnaryFunctionOp<Polygon2D,Polygon2D> implements Contingent, Ops.Geometric.SmallestEnclosingBoundingBox
geom.smallestBoundingBox.SpecialOp.FlavorNAME| 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, setInputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentcalculate, getIndependentInstance, runruncandidates, filterArity, oppublic void initialize()
Initializableinitialize in interface Initializablepublic Polygon2D calculate(Polygon2D input)
UnaryFunctionOpcalculate in interface UnaryFunctionOp<Polygon2D,Polygon2D>input - Argument to the functionpublic boolean conforms()
Contingentconforms in interface ContingentCopyright © 2014–2022 ImageJ. All rights reserved.