protected class Eades84Layout.Spring extends Object
Modifier and Type | Field and Description |
---|---|
(package private) double |
force |
(package private) Eades84Layout.EadesParticle |
p1 |
(package private) Eades84Layout.EadesParticle |
p2 |
Constructor and Description |
---|
Spring(Eades84Layout.EadesParticle p1,
Eades84Layout.EadesParticle p2) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
computeForce()
Force of a spring is : c1 * log(d/c2)
|
(package private) void |
set(Eades84Layout.EadesParticle p,
org.miv.pherd.geom.Vector3 v) |
double force
Spring(Eades84Layout.EadesParticle p1, Eades84Layout.EadesParticle p2)
void computeForce()
void set(Eades84Layout.EadesParticle p, org.miv.pherd.geom.Vector3 v)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses