algorithmic modeling for Rhino
it´s possibly to make something like this:
how do i write the index for all the lines of the list?????
List<Line> lines = new List<Line>();
List<Line> intersect = new List<Line>();
for (int i = 0; i < lines.Count; i++)
{
bool yes;
double a, b;
yes = Rhino.Geometry.Intersection.Intersect.LineLine(lines[i], lines[¿¿¿¿ALL - i ????], out a, out b, 0.0, true)
if (yes)
{
intersect.add(lines[i]);
}
else
{}
}
Tags:
Hi Jorge,
you can't pass in a list when a function requires a single Line. You're just going to have to write a second loop inside your first to iterate over the other lines.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
thanks you one more time david
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by