by Andrea Graziano
Feb 10, 2011
I think the shutter component had a bug. It doesn't work x t values = 0 or 1 working on circle and closed polylines. I'm sure that it works with old version (very old .... 6.059).
See the attached image
Andrea
Hi David
the bug is located inside the SolveInstance
double min = destination.Domain.Min;
double max = destination.Domain.Max;
for (int i = list.Count - 1; i >= 0; i--)
{
if ((list[i] >= max) || (list[i] <= min))
list.RemoveAt(i);
}
it should be if ((list[i] > max) || (list[i] a title="double min // Local Variable">min))
cheers,
Cancel
to]
Hi David
the bug is located inside the SolveInstance
double min = destination.Domain.Min;
double max = destination.Domain.Max;
for (int i = list.Count - 1; i >= 0; i--)
{
if ((list[i] >= max) || (list[i] <= min))
list.RemoveAt(i);
}
it should be if ((list[i] > max) || (list[i] a title="double min // Local Variable">min))
cheers,
Feb 10, 2011