oracle.panama.spatial
Class RankingByDrivingTime
java.lang.Object
|
+--oracle.panama.spatial.Ranking
|
+--oracle.panama.spatial.RankingByDrivingTime
- public class RankingByDrivingTime
- extends Ranking
Method Summary |
double[] |
getDistances()
This returns the driving distances for the ranked points (same sequence as points in point array). |
double[] |
getTimes()
This returns the driving times for the ranked points (same sequence as points in point array). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RankingByDrivingTime
public RankingByDrivingTime(Point[] locations)
RankingByDrivingTime
public RankingByDrivingTime(Point[] locations,
double[] times,
double[] dist)
getDistances
public double[] getDistances()
- This returns the driving distances for the ranked points (same sequence as points in point array).
-
- Returns:
- An array of doubles representing the driving distances in kilometers. If this information is not available, then null will be returned.
getTimes
public double[] getTimes()
- This returns the driving times for the ranked points (same sequence as points in point array).
-
- Returns:
- An array of doubles representing the driving times in minutes. If this information is not available, then null will be returned.
Copyright © 2003 Oracle Corporation. All Rights Reserved.