distance_point_point

compas.geometry.distance_point_point(a, b)[source]

Compute the distance bewteen a and b.

Parameters
Returns

float – Distance bewteen a and b.

Examples

>>> distance_point_point([0.0, 0.0, 0.0], [2.0, 0.0, 0.0])
2.0