What is different between curve length and curve domain?

what is different between curve length and curve domain?


length_domain.gh (11.3 KB)

1 Like

Put another way, curve length is self-explanatory and obvious but what is curve domain?

So a Curve, C, is a a mathematical function that maps from the number line to 3d space. Therefore we get something like C(t) = <x,y,z>. So for any t we put into the function C() we will get some point in 3d space.

The function can take any t on the number line, however, infinitly long curves arn’t particularly useful so we define a start and end value for t, this is called the domain of C. Therefore C(t) = P<x,y,z> : startDomain <= t <= endDomain So any t outside of the domain is NOT on the curve.

The length is the actual geometric length of the curve.

A good example :
A line C(t) = t * <3,4,7> + (1-t) * <1,2,3> : 0<t<1 has a domain of 0 to 1 and a length of 4.899.

3 Likes