public class ProjectableMesh extends Object implements Projectable
Constructor and Description |
---|
ProjectableMesh(DeformableMesh3D mesh) |
Modifier and Type | Method and Description |
---|---|
Shape |
continuousPaths(FurrowTransformer transformer)
Gets a continuous path version of the projected shape.
|
Color |
getColor() |
double[] |
getIntersectionPlaneCoordinates(Furrow3D furrow,
Connection3D con) |
DeformableMesh3D |
getMesh() |
List<double[]> |
getPlaneNodes(FurrowTransformer transformer) |
Shape |
getProjection(FurrowTransformer transformer) |
List<double[]> |
getSlicedTriangles(FurrowTransformer transformer) |
static void |
sortPointsByAngle(List<double[]> list,
double[] center,
double[] normal) |
public ProjectableMesh(DeformableMesh3D mesh)
public Shape getProjection(FurrowTransformer transformer)
getProjection
in interface Projectable
public List<double[]> getSlicedTriangles(FurrowTransformer transformer)
public Shape continuousPaths(FurrowTransformer transformer)
transformer
- the plane the projections are made onto.public double[] getIntersectionPlaneCoordinates(Furrow3D furrow, Connection3D con)
public List<double[]> getPlaneNodes(FurrowTransformer transformer)
public static void sortPointsByAngle(List<double[]> list, double[] center, double[] normal)
public Color getColor()
public DeformableMesh3D getMesh()
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.