org.deegree.commons.utils.math
Class VectorUtils

java.lang.Object
  extended by org.deegree.commons.utils.math.VectorUtils

public class VectorUtils
extends Object

The class TODO add class documentation here.

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: schneider $

Constructor Summary
VectorUtils()
           
 
Method Summary
static double getDistance(double[][] bbox, double[] p)
          Returns the minimum distance between a bounding box and a point.
static float getDistance(float[][] bbox, float[] p)
          Returns the minimum distance between a bounding box and a point.
static float getDistance(float[] bbox, float[] p)
          Returns the minimum distance between a bounding box and a point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VectorUtils

public VectorUtils()
Method Detail

getDistance

public static float getDistance(float[] bbox,
                                float[] p)
Returns the minimum distance between a bounding box and a point.

Parameters:
bbox -
p -
Returns:
minimum distance between bbox and the given point


getDistance

public static float getDistance(float[][] bbox,
                                float[] p)
Returns the minimum distance between a bounding box and a point.

Parameters:
bbox -
p -
Returns:
minimum distance between bbox and


getDistance

public static double getDistance(double[][] bbox,
                                 double[] p)
Returns the minimum distance between a bounding box and a point.

Parameters:
bbox -
p -
Returns:
minimum distance between bbox and



Copyright © 2011. All Rights Reserved.