[
https://issues.apache.org/jira/browse/GEOMETRY-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17070978#comment-17070978
]
Matt Juntunen commented on GEOMETRY-83:
---------------------------------------
[~erans], I'm curious what you think of these changes. One specific point is
the naming for the {{Circle}} and {{Sphere}} factory methods. I currently have
{{Circle.from(Vector2D, double, DoublePrecisionContext)}} and
{{Sphere.from(Vector3D, double, DoublePrecisionContext)}} to construct
instances from a center and a radius. I considered using {{of}} or
{{fromCenterAndRadius}} but the former didn't seem to work since this is not a
VALJO (due to the DoublePrecisionContext reference) and the latter seemed
unnecessarily long. WDYT?
> Shape Generation
> ----------------
>
> Key: GEOMETRY-83
> URL: https://issues.apache.org/jira/browse/GEOMETRY-83
> Project: Apache Commons Geometry
> Issue Type: New Feature
> Reporter: Matt Juntunen
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Add {{shapes}} packages to Euclidean 1D and 2D that contain utility classes
> for generating boundaries for commons shapes (eg, cubes, boxes, circles,
> spheres, etc). The functionality from the {{BoundariesXD}} utility classes
> should be moved here.
>
> See discussion on GEOMETRY-68.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)