vec_math
Interface VectorG.Metric

All Known Implementing Classes:
VectorG.EuclidianMetric
Enclosing class:
VectorG

public static interface VectorG.Metric

Interface for distance matching.


Method Summary
 double arclength(VectorG v1, VectorG v2)
          Returns the difference between two VectorG, in the simplest case the distance between the two points, whose position vectors are given by the argument vectors.
 

Method Detail

arclength

double arclength(VectorG v1,
                 VectorG v2)
Returns the difference between two VectorG, in the simplest case the distance between the two points, whose position vectors are given by the argument vectors. Can be genralized to spherical geometry or even higher order Riemann spaces.