mirror of
https://github.com/apache/commons-math.git
synced 2025-02-06 10:09:26 +00:00
Make constructor package private for now to simplify potential future changes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1563288 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bcba29320f
commit
9dc30fddc1
@ -50,7 +50,7 @@ public class ConvexHull2D implements ConvexHull<Euclidean2D, Vector2D>, Serializ
|
|||||||
* @param vertices the vertices of the convex hull
|
* @param vertices the vertices of the convex hull
|
||||||
* @param tolerance tolerance below which points are considered identical
|
* @param tolerance tolerance below which points are considered identical
|
||||||
*/
|
*/
|
||||||
public ConvexHull2D(final Collection<Vector2D> vertices, final double tolerance) {
|
ConvexHull2D(final Collection<Vector2D> vertices, final double tolerance) {
|
||||||
this.vertices = vertices.toArray(new Vector2D[vertices.size()]);
|
this.vertices = vertices.toArray(new Vector2D[vertices.size()]);
|
||||||
|
|
||||||
// construct the line segments - handle special cases of 1 or 2 points
|
// construct the line segments - handle special cases of 1 or 2 points
|
||||||
|
Loading…
x
Reference in New Issue
Block a user