private static APlus LoadAPlusPattern(XmlNode inputNode, XmlNode lineNode)
        {
            var pattern = new APlus { GuidancePatternType = GuidancePatternTypeEnum.APlus };

            var pointNodes = lineNode.SelectNodes("PNT");
            if (pointNodes.Count != 1)
                return null;

            var aPointNode = pointNodes[0];

            pattern.Point = ShapeLoader.LoadPoint(aPointNode);
            if (pattern.Point == null)
                return null;

            pattern.Heading = GetHeading(inputNode.GetXmlNodeValue("@G"));

            return pattern;
        }
示例#2
0
 private void ProcessAPlus(APlus aPlus)
 {
     var delta = _drawingUtil.GetDelta();
     var projectedPoint = aPlus.Point;
 }
        private static void WriteAplus(XmlWriter writer, APlus aPlus)
        {
            var line = new LineString { Points = new List<Point>() };
            line.Points.Add(aPlus.Point);

            ShapeWriter.WriteLine(writer, line, "5");
        }