is_point_projection_in_segment#
- static GeometryOperators.is_point_projection_in_segment(p: list, a: list, b: list) bool#
Check if a point projection lies on the segment defined by two points.
- Parameters:
- p
List List of
[x, y, z]coordinates for the reference pointp.- a
List List of
[x, y, z]coordinates for the first point of the segment.- b
List List of
[x, y, z]coordinates for the second point of the segment.
- p
- Returns:
- bool
Truewhen the projection point lies on the segment defined by the two points,Falseotherwise.