AutoMovie API
    Preparing search index...

    Variable pointOnSegmentConst

    pointOnSegment: (
        point: IAutoMoviePlanarPoint,
        from: IAutoMoviePlanarPoint,
        to: IAutoMoviePlanarPoint,
    ) => boolean = ...

    Whether a point lies on a closed segment, its endpoints included.

    The point must be collinear by planarSide and inside the segment's axis-aligned box widened by PLANAR_EPSILON (1e-12) on every side. A zero-length segment therefore contains exactly the points within that slack of its one position.

    Type Declaration