org.wamblee.gpx
Class TrackStatistics

java.lang.Object
  extended by org.wamblee.gpx.TrackStatistics
All Implemented Interfaces:
java.io.Serializable

public class TrackStatistics
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
TrackStatistics(TrackSegment aTrack)
           
 
Method Summary
 java.util.List<org.wamblee.general.Pair<java.lang.Double,java.lang.Double>> computeElevationProfile()
           
 double getDistance()
           
 double getTotalClimb()
           
 void writeHeightProfilePng(java.io.OutputStream aStream, int aWidth, int aHeight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrackStatistics

public TrackStatistics(TrackSegment aTrack)
Method Detail

writeHeightProfilePng

public void writeHeightProfilePng(java.io.OutputStream aStream,
                                  int aWidth,
                                  int aHeight)
                           throws java.io.IOException
Throws:
java.io.IOException

computeElevationProfile

public java.util.List<org.wamblee.general.Pair<java.lang.Double,java.lang.Double>> computeElevationProfile()

getTotalClimb

public double getTotalClimb()

getDistance

public double getDistance()


Copyright © 2010. All Rights Reserved.