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]
QuadricSpecialOp.Flavor| Constructor and Description |
|---|
QuadricToEllipsoid() |
| Modifier and Type | Method and Description |
|---|---|
Optional<Ellipsoid> |
calculate(org.joml.Matrix4dc quadricSolution) |
in, out, run, setInputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalculate, getIndependentInstance, runruncandidates, filterArity, opops, setEnvironmentinitializeCopyright © 2018–2022 BoneJ. All rights reserved.