Class Garmin.TrackSegment

Object
   |
   +--Garmin.TrackSegment

class Garmin.TrackSegment


Garmin.TrackSegment
Deprecated use Garmin.Activity instead

Defined in GarminGpsDataStructures.js


Constructor Summary
Garmin.TrackSegment()
            Equivalent to a in GPX format
 
Method Summary
 void addTrackPoint(trackPointObject)
          
 Garmin.TrackPoint findNearestValidLocationPoint(index, incDirection)
           Find the nearest valid point to the index given
 String getDuration()
           Get the total duration for this track segment
 Garmin.TrackPoint getEnd()
           Quick method to get the last point
 Garmin.DateTimeFormat getEndDate()
           Get the data/time for the end point of this segment
 Number getLength()
           Get the total number of trackpoints in this segment
 Garmin.TrackPoint getPoint(<Number> index)
           Get the point specified on the track If the number is negative, get's the first If it's larger than possible, get's the last Otherwise it gets the number requested
 Garmin.TrackPoint getStart()
           Quick method to get the first point
 Garmin.DateTimeFormat getStartDate()
           Get the data/time for the start point of this segment
 Number getStartLat()
           Get the latitude for the start point of this segment
 Number getStartLng()
           Get the longitude for the start point of this segment
 void initialize()
          
 String toString()
           String representation

Constructor Detail

Garmin.TrackSegment

Garmin.TrackSegment()

Method Detail

addTrackPoint

void addTrackPoint(trackPointObject)

findNearestValidLocationPoint

Garmin.TrackPoint findNearestValidLocationPoint(index, incDirection)

getDuration

String getDuration()

getEnd

Garmin.TrackPoint getEnd()

getEndDate

Garmin.DateTimeFormat getEndDate()

getLength

Number getLength()

getPoint

Garmin.TrackPoint getPoint(<Number> index)

getStart

Garmin.TrackPoint getStart()

getStartDate

Garmin.DateTimeFormat getStartDate()

getStartLat

Number getStartLat()

getStartLng

Number getStartLng()

initialize

void initialize()

toString

String toString()


Documentation generated by JSDoc on Fri Sep 14 17:27:44 2007