void Visit(CylinderZone& oz) { fixed radius = Units::ToSysDistance(GetFormValueFixed(*wf, _T("prpOZCylinderRadius"))); if (fabs(radius - oz.getRadius()) > fixed(49)) { oz.setRadius(radius); task_modified = true; } }
void Visit(const CylinderZone& oz) { hide_all(); WndFrame* wp = ((WndFrame *)wf->FindByName(_T("frmOZCylinder"))); if (wp) wp->show(); LoadFormProperty(*wf, _T("prpOZCylinderRadius"), ugDistance, oz.getRadius()); }
void Serialiser::Visit(const CylinderZone& data) { m_node.set_attribute(_T("type"), _T("Cylinder")); m_node.set_attribute(_T("radius"), data.getRadius()); }
void Visit(const CylinderZone& oz) { ozUserSize = oz.getRadius(); }
void RenderObservationZone::parms_oz(const CylinderZone& oz) { p_radius = m_proj.DistanceMetersToScreen(oz.getRadius()); p_center = m_proj.LonLat2Screen(oz.get_location()); }