Grasshopper

algorithmic modeling for Rhino

Hey Guys,

can somebody help me to figure out how working
Function EvaluatePoint(ByRef objref As IOnObjRef, point As On3dPoint)

if I have already a curve
and I want to get point at 0.i if curve 1d parameter

Dim maxPt As New On3dPoint
crv1.EvaluatePoint(???, maxPt)

Thanks in advise!

cheers,
Dimitry

Views: 280

Replies to This Discussion

You should probably use the EvPoint method rather than EvaluatePoint. EvPoint will take the parameter along the curve, then the 3d point to output the location to.
thank you Damien, its work.
but anyway what is IOnObjRef?
Its going to be fairly useless for you here in GH. Basically, its a reference to an object, not the object itself. Its used within classes like MRhinoGetObject as a way to "hold on to" an object yet not have the overhead of having another copy of that object in memory. AFAI can tell, the class is really only there so MRhinoObjRef can derive from it. I haven't really seen it pop up from within the OpenNurbs SDK yet.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service