Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Euclidean 2D, Euclidean 3D
    • Labels:

      Description

      Add classes containing min and max vectors defining axis-aligned bounding boxes for Euclidean 2D and 3D space.

      Ex:

      public final class Bounds3D {
          private final Vector3D min;
          private final Vector3D max;
      
          public Vector3D getMin(){ ... }
          public Vector3D getMax(){ ... }
      
          public double getMinX(){ ... }    
          public double getMaxX(){ ... }
          // ...
      
          public boolean contains(Vector3D pt) { ... }
          public boolean intersects(Bounds3D other) { ... }
      
         public static Bounds3D from(final Vector3D... pts) {
              // compute the min and max coordinate values from the input
         }    
      }
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: