generative 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: intersecttion, line, listline

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
Permalink Reply by jorge sainz de aja on December 8, 2011 at 12:17pm thanks you one more time david
Added by Mgeorgio 0 Comments 0 Likes
Added by Mgeorgio 0 Comments 0 Likes
© 2013 Created by Scott Davidson.
Powered by