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

OrientedPoint API Cleanup

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • 1.0
    • 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

              Unassigned Unassigned
              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