VR-Link C# API Documentation
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
4.12 - Using Independent VR-Link Objects in Multiple Threads

You can use independent VR-Link objects in multiple threads.

If you are using VR-Link in multi-threaded applications, note the following:

For example:

DtDegMinSec latRef = {35.0, 0.0, 0.0, DtNorth};
DtDegMinSec lonRef = {122.0, 0.0, 0.0, DtWest};
DtUseMapDatum(DtWGS84);
DtUtmInit(latRef, lonRef, 1); // this will use the global map datum
DtGeodeticCoord geod(DtDeg2Rad(30.0), DtDeg2Rad(100.0), 1000.0);
DtUtmCoord utm(geod);

is equivalent to the following code segment:

DtReferenceEllipsoid ellipse(DtWGS84);
DtUtmReferencePoint refUtm(latRef, lonRef, 1, 0, DtWGS84);
DtGeodeticCoord geod(DtDeg2Rad(30.0), DtDeg2Rad(100.0), 1000.0, &ellipse);
DtUtmCoord utm(geod, &refUtm);

[<< Attached Parts] [Home] [Top of Page] [Controlling MAK Products Remotely >>]


Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)