Created by: portnov
This node generates a Vector Field object by applying a Curve object to Scalar Field object.
A Scalar Field is a function, which returns a number for each point in 3D
space, i.e. S(v) : R^3 -> R
. A Curve is a function, which returns a point
in 3D space for each number in some domain, i.e. C(t) : R -> R^3
. So, given
a Scalar Field S and a Curve C, we can compose these two functions, to obtain a
new function: V(v) = C(S(v))
. This way we will have a function, which
returns a 3D vector for each point in 3D space. Such function is called Vector
Field.
If we have a Curve C, then we also have it's tangent vector function T(t) : R -> R^3
and it's normal vector function N(t) : R -> R^3
. We can use these
functions to compose them with a Scalar Field as well.
This node can be useful to construct vector (or scalar) fields of complex shape from a simple scalar field and some curve.
Preflight checklist
Put an x letter in each brackets when you're done this item:
-
Code changes complete. -
Code documentation complete. -
Documentation for users complete (or not required, if user never sees these changes). -
Manual testing done. -
Unit-tests implemented. -
Ready for merge.