• Checks if a point lies on a line segment.

    Parameters

    • point: Point

      The point to check.

    • line: Point[]

      An array representing the line segment [start, end].

    Returns boolean

    true if the point lies on the segment, otherwise false.

    Not Exported