algorithmic modeling for Rhino
Where does OnCurve.setDomain() function go? I could not locate this function in RhinoCommon. Curve obj on longer has the setDomain() function to reset the parametric domain to, say, 0 and 1. Could anyone show me what might be the substitute function in RhinoCommon?
Thanks. -javier
Tags:
Hi Javier,
Domain is now a property on the Curve object. You can use that property to both retrieve and assign the domain of a curve:
Dim crv As Curve
Dim dom As Interval = crv.Domain
dom.T0 += 1
dom.T1 += 5
crv.Domain = dom
--
David Rutten
david@mcneel.com
Poprad, Slovakia
David,
Thanks! You save my day.
-j
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