Migrates OcSituation and ServiceManagement to generated rtiddsgen API
Converts accessor calls to plain member access in osc, oss and obd services.
This commit is contained in:
30 files changed
+1000
-1007
No files matched your search
@@ -45,7 +45,7 @@ public:
|
||||
const LtsCoordTrans::UtmCoordinate &baseCoord)
|
||||
{
|
||||
// convert lon/lat to utm with the given zone from the center point
|
||||
const LtsCoordTrans::UtmCoordinate point(LtsCoordTrans::UtmCoordinate::fromGeographic(pos.lon(), pos.lat(), baseCoord.zone));
|
||||
const LtsCoordTrans::UtmCoordinate point(LtsCoordTrans::UtmCoordinate::fromGeographic(pos.lon, pos.lat, baseCoord.zone));
|
||||
// now calc distance from point to base point == relative position
|
||||
return QPointF(point.x - baseCoord.x, point.y - baseCoord.y);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user