Revision 22583 trunk/extensions/extGraph/src/org/gvsig/fmap/algorithm/triangulation/fjenett/Triangulate.java

View differences:

Triangulate.java
40 40
 * 
41 41
 */
42 42

  
43
class ITRIANGLE {
44
	int p1, p2, p3;
45 43

  
46
	ITRIANGLE() {
47
		;
48
	}
49
}
50

  
51 44
class IEDGE {
52 45
	int p1, p2;
53 46

  
......
57 50
	}
58 51
}
59 52

  
60
class XYZ {
61
	double x, y, z;
62 53

  
63
	XYZ() {
64
		;
65
	}
66

  
67
	XYZ(double _x, double _y, double _z) {
68
		this.x = _x;
69
		this.y = _y;
70
		this.z = _z;
71
	}
72
}
73

  
74 54
public class Triangulate {
75 55

  
76 56
	public static double EPSILON = 0.000001;
......
150 130
	 * return(0); }
151 131
	 */
152 132

  
153
	static int Triangulate(int nv, XYZ pxyz[], ITRIANGLE v[]) {
133
	static public int Triangulate(int nv, XYZ pxyz[], ITRIANGLE v[]) {
154 134
		boolean complete[] = null;
155 135
		IEDGE edges[] = null;
156 136
		int nedge = 0;

Also available in: Unified diff