C# Class PurplePen.GpxFile

Show file Open project: petergolde/PurplePen

Public Methods

Method Description
GpxFile ( EventDB eventDB, CoordinateMapper coordinateMapper, GpxCreationSettings settings ) : System
TestFileExceptionMap ( ) : string>.Dictionary
WriteGpx ( string fileName ) : void

Private Methods

Method Description
CollectWaypoints ( ) : void
CollectWaypointsOfKind ( List waypointList, ControlPointKind controlKind, string noCodeName, WaypointKind kind ) : void
GetWaypointBounds ( double &minLat, double &minLon, double &maxLat, double &maxLon ) : void
IncludeControl ( Id controlId ) : bool
WriteCourseTrack ( Id courseId ) : void
WriteCourseTracks ( ) : void
WriteGpxXml ( string fileName ) : void
WriteMetadata ( string name ) : void
WriteTrackBendPoint ( double latitude, double longitude ) : void
WriteTrackPoint ( Waypoint waypoint ) : void
WriteWaypoint ( Waypoint waypoint ) : void
WriteWaypoints ( ) : void

Method Details

GpxFile() public method

public GpxFile ( EventDB eventDB, CoordinateMapper coordinateMapper, GpxCreationSettings settings ) : System
eventDB EventDB
coordinateMapper CoordinateMapper
settings GpxCreationSettings
return System

TestFileExceptionMap() public static method

public static TestFileExceptionMap ( ) : string>.Dictionary
return string>.Dictionary

WriteGpx() public method

public WriteGpx ( string fileName ) : void
fileName string
return void