diff options
author | Rami Santina <[email protected]> | 2011-03-25 12:00:55 +0200 |
---|---|---|
committer | Rami Santina <[email protected]> | 2011-03-25 12:00:55 +0200 |
commit | 526af50c03af2e00a028caf4b8504e6c3f3c4221 (patch) | |
tree | 69b63713bc99051f26bb7ca172ed5464fec13485 /src/jogamp/graph/curve/tess/GraphOutline.java | |
parent | b01b243241635ab4d210aa88cdbff6cc5713a815 (diff) |
Refactored Vertex Point PointTex GraphPoint namings
Vertex class --> SVertex (Simple vertex wwhere memory impl is float[])
Point interface --> Vertex (which combines in it PointTex Interface)
GraphPoint --> GraphVertex
Diffstat (limited to 'src/jogamp/graph/curve/tess/GraphOutline.java')
-rw-r--r-- | src/jogamp/graph/curve/tess/GraphOutline.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/jogamp/graph/curve/tess/GraphOutline.java b/src/jogamp/graph/curve/tess/GraphOutline.java index cf73ab379..bb262ce5b 100644 --- a/src/jogamp/graph/curve/tess/GraphOutline.java +++ b/src/jogamp/graph/curve/tess/GraphOutline.java @@ -30,11 +30,11 @@ package jogamp.graph.curve.tess; import java.util.ArrayList; import com.jogamp.graph.geom.Outline; -import com.jogamp.graph.geom.PointTex; +import com.jogamp.graph.geom.Vertex; -public class GraphOutline <T extends PointTex> { +public class GraphOutline <T extends Vertex> { final private Outline<T> outline; - final private ArrayList<GraphPoint<T>> controlpoints = new ArrayList<GraphPoint<T>>(3); + final private ArrayList<GraphVertex<T>> controlpoints = new ArrayList<GraphVertex<T>>(3); public GraphOutline(){ this.outline = new Outline<T>(); @@ -48,7 +48,7 @@ public class GraphOutline <T extends PointTex> { this.outline = ol; ArrayList<T> vertices = this.outline.getVertices(); for(T v:vertices){ - this.controlpoints.add(new GraphPoint<T>(v)); + this.controlpoints.add(new GraphVertex<T>(v)); } } @@ -61,7 +61,7 @@ public class GraphOutline <T extends PointTex> { }*/ - public ArrayList<GraphPoint<T>> getGraphPoint() { + public ArrayList<GraphVertex<T>> getGraphPoint() { return controlpoints; } @@ -73,7 +73,7 @@ public class GraphOutline <T extends PointTex> { this.controlpoints = controlpoints; }*/ - public void addVertex(GraphPoint<T> v) { + public void addVertex(GraphVertex<T> v) { controlpoints.add(v); outline.addVertex(v.getPoint()); } |