public class TrajectoryVertexCache
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected float[] |
factors |
protected double |
invtotalLength |
protected double[] |
lx |
protected int |
numVerts |
protected double[] |
slens |
Constructor and Description |
---|
TrajectoryVertexCache(java.util.Vector<org.processmining.visualisation3d.maths.JoglVectord3> lx) |
Modifier and Type | Method and Description |
---|---|
protected double |
Dist2D(org.processmining.visualisation3d.maths.JoglVectord3 v1,
org.processmining.visualisation3d.maths.JoglVectord3 v2) |
double |
getInvTotalLength() |
int |
getLastIndex() |
float |
getPathFactor(int id) |
protected double[] |
getSegmentLengths(java.util.Vector<org.processmining.visualisation3d.maths.JoglVectord3> lst,
int id) |
double |
getSlen(int id) |
org.processmining.visualisation3d.maths.JoglVectord3 |
getVert(int id) |
double |
getVertComp(int id,
int comp) |
protected double[] lx
protected int numVerts
protected double[] slens
protected float[] factors
protected double invtotalLength
public TrajectoryVertexCache(java.util.Vector<org.processmining.visualisation3d.maths.JoglVectord3> lx)
public org.processmining.visualisation3d.maths.JoglVectord3 getVert(int id)
public double getVertComp(int id, int comp)
public double getSlen(int id)
public float getPathFactor(int id)
public double getInvTotalLength()
public int getLastIndex()
protected double[] getSegmentLengths(java.util.Vector<org.processmining.visualisation3d.maths.JoglVectord3> lst, int id)
protected double Dist2D(org.processmining.visualisation3d.maths.JoglVectord3 v1, org.processmining.visualisation3d.maths.JoglVectord3 v2)