OEGeom2DDistance2

OEGeom2DDistance2(p: OEFloatArray, q: OEFloatArray) -> float
OEGeom2DDistance2(p: OEDoubleArray, q: OEDoubleArray) -> float

Determines the squared distance in two dimensions between p and q. When it is possible to use the square of the distance, this is more efficient than using OEGeom2DDistance.

p

First two dimensional input array.

q

Second two dimensional input array.