public class QuadricToEllipsoid extends AbstractUnaryFunctionOp<org.joml.Matrix4dc,Optional<Ellipsoid>>
Ellipsoid
from a general equation of a quadratic
surface i.e. quadric.
The input equation must be in a matrix. If the quadric's polynomial in
homogeneous coordinates (w = 1) is Ax2 + By2 +
Cz2 + 2Dxy + 2Exz + 2Fyz + 2Gx + 2Hy + 2Iz, then the matrix must
be:
[a, d, e, g] [d, b, f, h] [e, f, c, i] [g, h, i, -1]
Quadric
SpecialOp.Flavor
Constructor and Description |
---|
QuadricToEllipsoid() |
Modifier and Type | Method and Description |
---|---|
Optional<Ellipsoid> |
calculate(org.joml.Matrix4dc quadricSolution) |
in, out, run, setInput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calculate, getIndependentInstance, run
run
candidates, filterArity, op
ops, setEnvironment
initialize
Copyright © 2018–2022 BoneJ. All rights reserved.