Skip to content

Should Line be changed to Segment? #475

@scuniff

Description

@scuniff

https://github.com/ome/omero-insight/blob/master/src/main/java/org/openmicroscopy/shoola/util/math/geom2D/Segment.java#L124-L129

Referring to this code snippet:

public boolean equals(Object o)
{
    if (o == null || !(o instanceof Line)) return false;
    Line other = (Line) o;
    return (origin == other.origin && direction == other.direction);
}

Should the 3 references to Line actually be Segment?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions