Compute the distance to another point.
point ([float, float, float] | Point) – The other point.
Point
float – The distance.
Examples
>>> a = Point(0.0, 0.0, 0.0) >>> b = Point(1.0, 0.0, 0.0) >>> a.distance_to_point(b) 1.0
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev