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.Flavor
NAME
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, setInput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
calculate, getIndependentInstance, run
run
candidates, filterArity, op
initialize
public Mesh calculate(Mesh input)
UnaryFunctionOp
calculate
in interface UnaryFunctionOp<Mesh,Mesh>
input
- Argument to the functionpublic boolean conforms()
Contingent
conforms
in interface Contingent
Copyright © 2014–2022 ImageJ. All rights reserved.