public interface VectorString
Modifier and Type | Field and Description |
---|---|
static int |
X_AXIS |
static int |
Y_AXIS |
static int |
Z_AXIS |
Modifier and Type | Method and Description |
---|---|
double |
distance(int i,
VectorString vs,
int j) |
double |
getDelta() |
double |
getDiffVectorLength(int i,
int j,
VectorString vs) |
int |
getDimensions() |
double |
getPoint(int dim,
int i)
Get the value at index i for dimension dim; dimensions start at 0 and go up to n-dimensions -1, for example for VectorString3D, 0=X, 1=Y, 2=Z; to get y[32] call getPoint(1, 32);
|
double[] |
getPoints(int dim)
Get the array at dimension dim which ranges from 0 to n-dimensions -1; 0=X, 1=Y, 2=Z, et cetera depending on how many dimensions this VectorString supports.
|
double |
getVector(int dim,
int i) |
double[] |
getVectors(int dim) |
boolean |
isClosed() |
int |
length() |
void |
reorder(int min_j) |
void |
resample(double delta) |
void |
resample(double delta,
boolean with_source) |
void |
reverse() |
VectorString |
subVectorString(int first,
int last) |
static final int X_AXIS
static final int Y_AXIS
static final int Z_AXIS
void resample(double delta, boolean with_source)
void resample(double delta)
void reorder(int min_j)
int length()
double[] getPoints(int dim)
double[] getVectors(int dim)
double getPoint(int dim, int i)
double getVector(int dim, int i)
boolean isClosed()
double getDiffVectorLength(int i, int j, VectorString vs)
double distance(int i, VectorString vs, int j)
VectorString subVectorString(int first, int last) throws Exception
Exception
void reverse()
int getDimensions()
double getDelta()
Copyright © 2015–2021 Fiji. All rights reserved.