public class GroupDynamics extends Object
Constructor and Description |
---|
GroupDynamics() |
Modifier and Type | Method and Description |
---|---|
static MeshGroup |
createMeshGroup(List<DeformableMesh3D> meshes) |
static List<DeformableMesh3D> |
generateGrid() |
static double[] |
getAxisRotation(List<DeformableMesh3D> previous,
List<DeformableMesh3D> next)
Consider that a rigid body rotates the group of meshes.
|
static double[] |
getCenterOfMass(List<DeformableMesh3D> meshes) |
static double |
getMass(List<DeformableMesh3D> meshes) |
static List<DeformableMesh3D> |
getMeshInFrame(List<Track> tracks,
int i) |
static void |
main(String[] args) |
static List<Track> |
steppingMeshes(List<Track> tracks,
int i) |
public static List<DeformableMesh3D> getMeshInFrame(List<Track> tracks, int i)
public static double[] getCenterOfMass(List<DeformableMesh3D> meshes)
public static double getMass(List<DeformableMesh3D> meshes)
public static MeshGroup createMeshGroup(List<DeformableMesh3D> meshes)
public static double[] getAxisRotation(List<DeformableMesh3D> previous, List<DeformableMesh3D> next)
public static List<DeformableMesh3D> generateGrid()
public static void main(String[] args) throws IOException
IOException
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.