barsuift.simLife.j3d.util
Class DistanceHelper

java.lang.Object
  extended by barsuift.simLife.j3d.util.DistanceHelper

public final class DistanceHelper
extends java.lang.Object


Method Summary
static double distanceFromOrigin(javax.vecmath.Point3d point)
          Computes the distance between the given point and the origin point (0,0,0).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

distanceFromOrigin

public static double distanceFromOrigin(javax.vecmath.Point3d point)
Computes the distance between the given point and the origin point (0,0,0).

Parameters:
point - the point to compute distance for
Returns:
the distance between point and origin


Copyright © 2010. All Rights Reserved.