public class EllipsoidPoints extends AbstractBinaryFunctionOp<double[],Long,List<org.joml.Vector3d>> implements Contingent
SpecialOp.Flavor
Constructor and Description |
---|
EllipsoidPoints() |
Modifier and Type | Method and Description |
---|---|
List<org.joml.Vector3d> |
calculate(double[] radii,
Long n)
Creates random points on an ellipsoid surface.
|
boolean |
conforms() |
in1, in2, out, run, setInput1, setInput2
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calculate, getIndependentInstance, run
in, setInput
calculate, run
run
candidates, filterArity, op
ops, setEnvironment
initialize
public List<org.joml.Vector3d> calculate(double[] radii, Long n)
calculate
in interface BinaryFunctionOp<double[],Long,List<org.joml.Vector3d>>
radii
- the radii of the ellipsoid. They'll be sorted in ascending
order.n
- number of points to be created.public boolean conforms()
conforms
in interface Contingent
Copyright © 2018–2022 BoneJ. All rights reserved.