Create a vb.net component, add an extra output 'B'. Connect one curve
to the X and another to the Y input. This script will output the X
curve's intersections to the A output and the Y curve's intersections
to the B output. You'll have to add some looping for many curves, but
i understand you already have that figured out.

    Dim crvA As OnCurve = x
    Dim crvB As OnCurve = y
    Dim ptAlist As New List(Of On3dPoint)
    Dim ptBlist As New List(Of On3dPoint)
    Dim xEvents As New ArrayOnX_EVENT()
    Dim count As Integer = crvA.IntersectCurve(crvB, xEvents)
    For i As Integer = 0 To xEvents.Count() - 1
      Dim e As IOnX_EVENT = xEvents(i)
      Dim ptA As New On3dPoint(e.m_pointA(0))
      Dim ptB As New On3dPoint(e.m_pointB(0))
      ptAlist.Add(ptA)
      ptBlist.Add(ptB)
    Next
    a = ptAlist
    b = ptBlist

On May 12, 9:28 pm, oompa_l <gbrl.fr...@gmail.com> wrote:
> that's what I figured. since we're on the subject, do you know of the
> method for curve curve intersections? I have the basic nested for loop
> in place I just don't know the right command for the intersection
> itself...the vb.net documentation is kind of intimidating...

Reply via email to