Uploaded image for project: 'Apache Commons Geometry'
  1. Apache Commons Geometry
  2. GEOMETRY-27

OrientedPoint API Cleanup

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: None

      Description

      The following changes should be made to the OrientedPoint class:

      • replace direct boolean with direction Vector1D instance. The "direct" terminology is not clear to most users and having a vector to indicate the orientation of the point is much more intuitive and easier to work with.
      • add equals, hashCode, and toString
      • make the class immutable.
      • update documentation to be more accessible.

       

      Pull request: https://github.com/apache/commons-geometry/pull/27

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mattjuntunen Matt Juntunen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m