hi to]

ON_NurbsCurve::GetClosestPoint is C++ style notation.

In VB.NET, it should looks like this:

 Dim crv As OnNurbsCurve
 Dim t As Double
 If (crv.GetClosestPoint(test_pt, t)) Then
    Dim point_cp As On3dPoint = crv.PointAt(t)
 End If

--
David Rutten
[email protected]
Robert McNeel & Associates


On Mar 23, 7:20 pm, "to]" <[email protected]> wrote:
> hi all
>
> i have a problem within my vbnet script
> can't get it to work
> i have a test point near a nurbscurve and i want to get the closest
> point on that curve to the point
> the right thing should be
> ON_NurbsCurve::GetClosestPoint but i can't get it work
> hope somebody can send me an example but it must be in my vbnet script
> because i need to work with that points
>
> thx to]

Reply via email to