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

Enclosing API Updates

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • 1.0
    • None

    Description

      The API for the enclosing module should be updated for consistency with the rest of the library.

      • EnclosingBall
        • getSupport should return list of points instead of array
        • contains(P pt, double margin) should be changed to accept a DoublePrecisionContext as the second argument.
      • Add WelzelEncloser2D and WelzlEncloser3D convenience classes so that that users do not need to construct a generic WelzelEncloser object and supply their own SupportBallGenerator.

      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 - 0.5h
                  0.5h