Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Method name Line.isInside (and it's docs) mismatch inner logic #18

@repitch

Description

@repitch

public boolean isInside(Point point) {

Code inside Line#isInside() checks whether point contains inside line's bounding box, not laying on the line.
Counter-example

line (0;0) - (10;10)
points (0;10), (10;0)

line.containsPoint will return true for them, however points are not actually lay on that line

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions