Distance (2-D)

This node calculates the distance between two points in 2-D Euclidean space. The coordinates are contained in 4 numerical columns.

This node was developed by Vernalis Research (Cambridge, UK) . For feedback and more information, please contact knime@vernalis.com

Options

x0
The x-coordinate of the first point
y0
The y-coordinate of the first point
x1
The x-coordinate of the second point
y1
The y-coordinate of the second point
Return squared Distance
Should the node return the squared distance, rather than the distance

Input Ports

Icon
Port containing 2-D points

Output Ports

Icon
Port with 2-D distances added

Popular Predecessors

  • String To Number19 %
  • Constant Value Column16 %
  • Geo-Coordinate Row Filter9 %
  • Joiner6 %
  • Math Formula6 %
  • Scatter Plot (JavaScript)3 %
  • Coordinate to Latitude/Longitude3 %
  • Group Loop Start3 %
  • Distance Matrix Pair Extractor3 %
  • Cross Joiner3 %
  • Missing Value3 %
  • Transpose3 %
  • Ungroup3 %
  • Data Generator3 %
  • Latitude/Longitude to Coordinate3 %
  • Table Creator3 %
  • Lag Column3 %
  • Row Filter3 %
  • Column Rename3 %

Popular Successors

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.