diff options
author | Sven Gothel <[email protected]> | 2011-05-22 06:52:59 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-05-22 06:52:59 +0200 |
commit | ced1a4c644483ad5bfd28ca2bb6a5ffc030b9f1d (patch) | |
tree | 26b5ec722eef1735898c18ce8289e25339f90af6 /src/jogl/classes/jogamp/graph/curve/tess/GraphOutline.java | |
parent | f48f1f68ed51fd83f0fa5282209b556eab39e23e (diff) | |
parent | 5ea211cde39be9669d1f2f289abbba460398f82e (diff) |
Merge remote-tracking branch 'remotes/rsantina/master'
Diffstat (limited to 'src/jogl/classes/jogamp/graph/curve/tess/GraphOutline.java')
-rw-r--r-- | src/jogl/classes/jogamp/graph/curve/tess/GraphOutline.java | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/jogl/classes/jogamp/graph/curve/tess/GraphOutline.java b/src/jogl/classes/jogamp/graph/curve/tess/GraphOutline.java index d1245f4b8..c8251af15 100644 --- a/src/jogl/classes/jogamp/graph/curve/tess/GraphOutline.java +++ b/src/jogl/classes/jogamp/graph/curve/tess/GraphOutline.java @@ -47,8 +47,8 @@ public class GraphOutline { public GraphOutline(Outline ol){ this.outline = ol; ArrayList<Vertex> vertices = this.outline.getVertices(); - for(Vertex v:vertices){ - this.controlpoints.add(new GraphVertex(v)); + for(int i = 0; i< vertices.size(); i++){ + this.controlpoints.add(new GraphVertex(vertices.get(i))); } } @@ -56,11 +56,6 @@ public class GraphOutline { return outline; } - /*public void setOutline(Outline<T> outline) { - this.outline = outline; - }*/ - - public ArrayList<GraphVertex> getGraphPoint() { return controlpoints; } @@ -69,10 +64,6 @@ public class GraphOutline { return outline.getVertices(); } - /*public void setControlpoints(ArrayList<GraphPoint<T>> controlpoints) { - this.controlpoints = controlpoints; - }*/ - public void addVertex(GraphVertex v) { controlpoints.add(v); outline.addVertex(v.getPoint()); |