[ 
https://issues.apache.org/jira/browse/GEOMETRY-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Juntunen resolved GEOMETRY-77.
-----------------------------------
    Resolution: Done

> BoundsXD
> --------
>
>                 Key: GEOMETRY-77
>                 URL: https://issues.apache.org/jira/browse/GEOMETRY-77
>             Project: Apache Commons Geometry
>          Issue Type: New Feature
>          Components: Euclidean 2D, Euclidean 3D
>            Reporter: Matt Juntunen
>            Priority: Minor
>              Labels: beta1
>
> Add classes containing min and max vectors defining axis-aligned bounding 
> boxes for Euclidean 2D and 3D space.
> Ex:
> {code:java}
> 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
>    }    
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to