Interpolate 2D Filter

Navigation:  Widget Designer > Nodes > Filter Nodes > Vector Filter Nodes >

Interpolate 2D Filter

prev main next

Navigation:  Widget Designer > Nodes > Filter Nodes > Vector Filter Nodes >

Interpolate 2D Filter

prev main next

Please wait. Due to its content this page might take a while to load...

The Interpolate 2D filter node interpolates a point between a defined start and end point in a two dimensional coordinate system and outputs its X and Y coordinates. The percentage of how close the interpolated point is supposed to be to the start or end point can be adjusted with the "Amount" parameter.

This node can be found under Nodes > Filter > Vector > Distance 2D

Node properties

Start X and Y:

Choose an input node from the drop-down or enter a numeric value for the X and Y coordinates of the start point.

End X and Y:

Choose an input node from the drop-down or enter a numeric value for the X and Y coordinates of the end point.

Amount:

Enter here the percentage how close the interpolated point should be to the start or end point. 0.5 means that the point is exactly in the middle between start and end. A value approaching 0 puts the interpolated point closer to the start, a value approaching 1 closer to the end point.

Node control

With Widget Designer version 6, all nodes support so called node commands. Node commands access functions (i.e methods) from a node and / or set a parameter (i.e. property).

Enter "node", followed by the according ID and a dot and a list will pop up showing all available commands for the node. For instance, Node1.TintColor.SetRGB(125,0,255), colors the node in purple.
In addition, the node properties with a parameter ID (the small superscript number) can be edited via the command Node1.SetParam(ID,new Value) or WDNodeSetParam(NodeID,ParamID,Value).

Node output values

The Node generates the following output:

- Output X (X coordinate of the interpolated point)

- Output Y (Y coordinate of the interpolated point)