예제 #1
0
        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;
 }
예제 #3
0
        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");
        }