This PR adds some tighter integration of phydev concepts in the KernelF world:
points from mechanisms can be referenced as dot expressions like Solution.Point
a point thus can be evaluated by the interpreter (parametrized be the values given in the solution), this will result in an vector2d
new operations x and y to access the components of a vector2d, and interpreter support for it
I included some examples as REPL (node URL), testcases (node URL), and KernelF code (node URL).
The following screenshot shows how a REPL can be used to access two points from given solutions/mechanisms, and compute the scalar product for their locations.
This PR adds some tighter integration of phydev concepts in the KernelF world:
Solution.Point
I included some examples as REPL (node URL), testcases (node URL), and KernelF code (node URL). The following screenshot shows how a REPL can be used to access two points from given solutions/mechanisms, and compute the scalar product for their locations.