WriteLine() 공개 정적인 메소드

public static WriteLine ( XmlWriter writer, AgGateway.ADAPT.ApplicationDataModel.Shapes.LineString line, string lineType ) : void
writer System.Xml.XmlWriter
line AgGateway.ADAPT.ApplicationDataModel.Shapes.LineString
lineType string
리턴 void
예제 #1
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");
        }
예제 #2
0
        private static void WriteAbLine(XmlWriter writer, AbLine abLine)
        {
            var line = new LineString {
                Points = new List <Point>()
            };

            line.Points.Add(abLine.A);
            line.Points.Add(abLine.B);

            ShapeWriter.WriteLine(writer, line, "5");
        }
예제 #3
0
        private static void WritePivot(XmlWriter writer, CenterPivot centerPivot)
        {
            var line = new LineString {
                Points = new List <Point>()
            };

            line.Points.Add(centerPivot.Center);

            if (centerPivot.StartPoint != null)
            {
                line.Points.Add(centerPivot.StartPoint);
                if (centerPivot.EndPoint != null)
                {
                    line.Points.Add(centerPivot.EndPoint);
                }
            }

            ShapeWriter.WriteLine(writer, line, "5");
        }
예제 #4
0
 private static void WriteSpiral(XmlWriter writer, Spiral spiral)
 {
     ShapeWriter.WriteLine(writer, spiral.Shape, "5");
 }
예제 #5
0
 private static void WriteAbCurve(XmlWriter writer, AbCurve abCurve)
 {
     ShapeWriter.WriteLine(writer, abCurve.Shape[0], "5");
 }