closest_point_on_segment_xy
- compas.geometry.closest_point_on_segment_xy(point, segment)[source]
Compute closest point on a line segment to a given point lying in the XY-plane.
Compute closest point on a line segment to a given point lying in the XY-plane.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev