public class DefaultSmallestOrientedBoundingBox extends AbstractUnaryFunctionOp<Mesh,Mesh> implements Contingent, Ops.Geometric.SmallestEnclosingBoundingBox
geom.smallestBoundingBox.
This paper looks promising: http://clb.demon.fi/minobb/minobb.html
c++ implementation:
https://github.com/juj/MathGeoLib/blob/master/src/Geometry/OBB.cpp (Licensed
under the Apache License, Version 2.0) example:
http://clb.demon.fi/minobb/test/ModelView.htmlSpecialOp.FlavorNAME| Constructor and Description |
|---|
DefaultSmallestOrientedBoundingBox() |
| Modifier and Type | Method and Description |
|---|---|
Mesh |
calculate(Mesh 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.
|
in, out, run, setInputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentcalculate, getIndependentInstance, runruncandidates, filterArity, opinitializepublic Mesh calculate(Mesh input)
UnaryFunctionOpcalculate in interface UnaryFunctionOp<Mesh,Mesh>input - Argument to the functionpublic boolean conforms()
Contingentconforms in interface ContingentCopyright © 2014–2022 ImageJ. All rights reserved.