Class Garmin.Series
Object
|
+--Garmin.Series
- class
Garmin.Series
Garmin.Series
Defined in GarminSeries.js
|
Field Summary |
<static> Object |
TYPES
|
|
Constructor Summary |
Garmin.Series(type)
Contains a series of samples.
|
TYPES
<static> Object TYPES
Garmin.Series
Garmin.Series(type)
Contains a series of samples. Could represent tracks, routes, waypoints, and
many other types of data.
Parameters:
String - ) type - the type of data this series contain. Should be determined by what information is recorded by the samples this series contain.
_findNearestValidLocationSampleInternal
Object _findNearestValidLocationSampleInternal(index, incDirection, count)
addSample
void addSample(sample)
findNearestValidLocationSample
Garmin.Sample findNearestValidLocationSample(index, incDirection)
Find the nearest valid location point to the index given
Parameters:
incDirection - is an int in the direction we'd like to look positive nums are forward, negative nums are backwards
Returns:
The nearest point (possibly the index) that has a valid latitude and longitude
getFirstValidLocationSample
Object getFirstValidLocationSample()
getLastValidLocationSample
Object getLastValidLocationSample()
getSample
Object getSample(index)
getSamples
Object getSamples()
getSamplesLength
Object getSamplesLength()
getSeriesType
Object getSeriesType()
initialize
void initialize(seriesType)
printMe
Object printMe(tabs)
setSeriesType
void setSeriesType(seriesType)
toString
Object toString()
Documentation generated by
JSDoc on Wed Apr 9 16:12:40 2008