[ 
https://issues.apache.org/jira/browse/GEOMETRY-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16981529#comment-16981529
 ] 

Matt Juntunen commented on GEOMETRY-33:
---------------------------------------

Resolved with 77a2792463b091a37eea3859032793648a9b525d.

> Region API
> ----------
>
>                 Key: GEOMETRY-33
>                 URL: https://issues.apache.org/jira/browse/GEOMETRY-33
>             Project: Apache Commons Geometry
>          Issue Type: Improvement
>            Reporter: Matt Juntunen
>            Priority: Major
>
> The following updates should be made to the overall {{Region}} API:
> - Rename {{IntervalsSet}}, {{PolygonsSet}}, and {{PolyhedronsSet}} to 
> {{Region1D}}, {{Region2D}}, and {{Region3D}}, the reason being that each 
> class can represent the full space, which is decidedly not an interval, 
> polygon, or polyhedron. Also, the term "set", implies that they are 
> collections of objects, which is not the case.
> - Create builder APIs for constructing regions in each dimension. Ex:
> {code:java}
> Region3D region = Region3D.builder()
>     .add(plane1)
>     .add(plane2)
>     .build();
> {code}
> - Absorb {{RegionFactory}} functionality into the {{Region}} interface or 
> make the utility methods static.



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

Reply via email to