Recommend this page to a friend! |
Classes of Jakub Dubec | PHP GPX Library | docs/phpGPX-Models-Segment.md | Download |
|
DownloadphpGPX\Models\SegmentClass Segment A Track Segment holds a list of Track Points which are logically connected in order. To represent a single GPS track where GPS reception was lost, or the GPS receiver was turned off, start a new Track Segment for each continuous span of track data.
Properties$points
Array of segment points
$extensions
You can add extend GPX by adding your own elements from another schema here.
$stats
Methods__construct
Segment constructor.
toArray
Serialize object to array
recalculateStats
Recalculate stats objects.
|