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

Optimize HyperplaneSubset.Builder Implementations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • None
    • None

    Description

      The current implementations of HyperplaneSubset.Builder always use a BSP tree in order to build hyperplane subsets. However, in many cases (such as when building region BSP tree boundaries), these builders only have a single, immutable convex subset added to them. In these cases, the creation of the BSP tree is unnecessary and simply adds more overhead to the computation. Therefore, we should optimize the builder implementations to only create BSP trees when needed, and to simply return the immutable convex subset directly if that was the only thing added. This applies to Euclidean 2D and 3D and Spherical 2D.

      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: