Domain of a curve


#1

Hi,

I think the documentation of CurveDomain () has not been concise. What does “domain” stand for in this context? Is it the ID of the curve?


(Wim Dekeyser) #2

You don’t mention which documentation you are reading so I don’t know what it says there. At any rate, in mathematics, the domain of a function (and thus a curve) is the set of input values for which the function is defined. So, no, it’s not the ID. But you provide the curve’s ID as the argument to that CurveDomain function.


#3

I always refer to @DavidRutten’s excellent blog post on curve parameter space when needing to explain curve domain. It’s both quite thorough and easily digestable. Might help…


#4

I’ve made a small GH definition to visualize a few things that (I think) are good to know when working with curves, lines and domains… CurveDomain.gh (16.6 KB)


#5

Thanks guys it helped a lot.