public class TriangleAreaDistributor extends Object implements ExternalEnergy
| Constructor and Description |
|---|
TriangleAreaDistributor(MeshImageStack stack,
DeformableMesh3D mesh,
double weight) |
| Modifier and Type | Method and Description |
|---|---|
double |
getEnergy(double[] pos) |
static void |
main(String[] args) |
void |
updateForces(double[] positions,
double[] fx,
double[] fy,
double[] fz) |
public TriangleAreaDistributor(MeshImageStack stack, DeformableMesh3D mesh, double weight)
public void updateForces(double[] positions,
double[] fx,
double[] fy,
double[] fz)
updateForces in interface ExternalEnergypublic double getEnergy(double[] pos)
getEnergy in interface ExternalEnergypublic static void main(String[] args)
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.