Example #1
0
		internal SCANwaypoint(StationaryPointParameter p)
		{
			way = reflectWaypoint(p);
			if (way != null)
			{
				band = FlightBand.NONE;
				root = p.Root;
				param = p;
				name = way.name;
				longitude = SCANUtil.fixLonShift(way.longitude);
				latitude = SCANUtil.fixLatShift(way.latitude);
				landingTarget = false;
			}
		}
Example #2
0
		internal static Waypoint FinePrintStationaryWaypointObject(StationaryPointParameter p)
		{
			Waypoint w = null;
			try
			{
				w = (Waypoint)_FinePrintStationaryWaypoint.GetValue(p);
			}
			catch (Exception e)
			{
				SCANUtil.SCANlog("Error in detecting FinePrint Stationary Waypoint object: {0}", e);
			}

			return w;
		}
Example #3
0
		private Waypoint reflectWaypoint(StationaryPointParameter p)
		{
			if (SCANmainMenuLoader.FinePrintStationaryWaypoint)
				return SCANreflection.FinePrintStationaryWaypointObject(p);

			return null;
		}