Ejemplo n.º 1
0
        internal static void DrawLine(TypeWashedPipeline pipeline, PositionData[] line)
        {
            for (int i = 0; i < line.Length; ++i)
            {
                if (i == 0)
                {
                    pipeline.BeginFigure(line[i].X, line[i].Y, line[i].Z, line[i].M);
                }
                else
                {
                    pipeline.LineTo(line[i].X, line[i].Y, line[i].Z, line[i].M);
                }
            }

            pipeline.EndFigure();
        }
Ejemplo n.º 2
0
 internal static void DrawPoint(TypeWashedPipeline pipeline, PositionData point)
 {
     pipeline.BeginFigure(point.X, point.Y, point.Z, point.M);
     pipeline.EndFigure();
 }