Computes closest point on line segment (p1, p2) to test point.
point (sequence of float) – XYZ coordinates.
saegment (tuple) – Two points defining the segment.
list – XYZ coordinates of closest point.
A computational framework for collaboration and research
in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev