summaryrefslogtreecommitdiffstats
path: root/src/jogamp/graph/curve/tess/GraphOutline.java
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2011-03-25 12:00:55 +0200
committerRami Santina <[email protected]>2011-03-25 12:00:55 +0200
commit526af50c03af2e00a028caf4b8504e6c3f3c4221 (patch)
tree69b63713bc99051f26bb7ca172ed5464fec13485 /src/jogamp/graph/curve/tess/GraphOutline.java
parentb01b243241635ab4d210aa88cdbff6cc5713a815 (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.java12
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());
}