Angle Distance Filter

Navigation:  Widget Designer > Nodes > Filter Nodes >

Angle Distance Filter

prev main next

Navigation:  Widget Designer > Nodes > Filter Nodes >

Angle Distance Filter

prev main next

Loading...

The Angle Distance filter node analyzes two points 1 and 2. It returns the distance between them as well as the angle resulting from the line between the connected points and the X-axis if the origin of the coordinate system would go through point 1.

The node can be found under Nodes > Filter Nodes > Angle Distance

wd_nodes_filter_angle-distance

Node properties

X1 and Y1:

Choose an input node from the drop-down or enter a numeric value for the coordinates of the first point.

X2 and Y2:

Choose an input node from the drop-down or enter a numeric value for the coordinates of the second 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:

- Angle (in degrees)

- Distance