vec_math
Class VectorG.EuclidianMetric

java.lang.Object
  extended by vec_math.VectorG.EuclidianMetric
All Implemented Interfaces:
VectorG.Metric
Enclosing class:
VectorG

public static class VectorG.EuclidianMetric
extends Object
implements VectorG.Metric


Constructor Summary
VectorG.EuclidianMetric()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VectorG.EuclidianMetric

public VectorG.EuclidianMetric()
Method Detail

arclength

public double arclength(VectorG v1,
                        VectorG v2)
Description copied from interface: VectorG.Metric
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.

Specified by:
arclength in interface VectorG.Metric