cz.cuni.amis.pogamut.base.utils.math
Class DistanceUtils.GetLocatedDistance2D<T extends ILocated>

Package class diagram package DistanceUtils.GetLocatedDistance2D
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.utils.math.DistanceUtils.GetLocatedDistance2D<T>
Type Parameters:
T -
All Implemented Interfaces:
DistanceUtils.IGetDistance<T>
Enclosing class:
DistanceUtils

public static class DistanceUtils.GetLocatedDistance2D<T extends ILocated>
extends Object
implements DistanceUtils.IGetDistance<T>

Simple implementation of DistanceUtils.IGetDistance that uses Location.getDistance2D(Location) method.

Author:
Jimmy

Constructor Summary
DistanceUtils.GetLocatedDistance2D()
           
 
Method Summary
 double getDistance(T object, ILocated target)
          Uses Location.getDistance(Location) method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistanceUtils.GetLocatedDistance2D

public DistanceUtils.GetLocatedDistance2D()
Method Detail

getDistance

public double getDistance(T object,
                          ILocated target)
Uses Location.getDistance(Location) method.

Specified by:
getDistance in interface DistanceUtils.IGetDistance<T extends ILocated>


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.