tsc_TrimbleRoad

This class represents a Trimble Road (.rxl) file, and is used to load these files into Trimble Access, as well as convert from other formats.

TODO: Methods need more detail in their descriptions (eg, file specifications, more about tsc_LandXmlRoadConversionArgs) 

Constructor

tsc_TrimbleRoad();
Constructs an empty object.

Public methods

x_Code LoadFromLandXmlFile (const char* filename, const tsc_LandXmlRoadConversionArgs& args);
Loads a LandXML file and converts it into the internal Trimble format.

x_Code SaveAsRxlFile (const char* filename);
Saves the internal format road as an RXL file.

bool   AddRoadToMap (const char* filename);
Displays the named road on the map (usually this will be the one saved as RXL).
The road is made visible and selectable.

bool   RemoveRoadFromMap (const char* filename);
Removes the named road from the map. The filename may be any road currently displayed.
Returns false if the road was not being displayed by the map.