Exemplo n.º 1
0
 public void Sample(double resolution, Storage.Builders.ILineBuilder2d builder)
 {
     if (resolution < 0.0)
     {
         builder.AddLineStrip(false, A, B);
     }
     else
     {
         throw new NotImplementedException();
     }
 }
Exemplo n.º 2
0
        public void Sample(double resolution, Storage.Builders.ILineBuilder2d builder)
        {
            Vector2d[] points = this.ConvertToList(resolution);

            if (points.Length == 0)
            {
                return;
            }

            builder.AddLineStrip(true, points);
        }