Determine if a point lies on a given line segment.
point ([float, float, float] | Point) – A point.
Point
segment ([point, point] | Line) – A line segment.
Line
tol (float, optional) – A tolerance for membership verification.
bool – True if the point is on the line segment. False otherwise.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev