distance_point_point
- compas.geometry.distance_point_point(a, b)[source]
Compute the distance bewteen a and b.
- Parameters:
- a[float, float, float] |
compas.geometry.Point
XYZ coordinates of point a.
- b[float, float, float] |
compas.geometry.Point
XYZ coordinates of point b.
- a[float, float, float] |
- Returns:
- float
Distance bewteen a and b.
See also
Examples
>>> distance_point_point([0.0, 0.0, 0.0], [2.0, 0.0, 0.0]) 2.0