root / trunk / extensions / extGraph / src / org / gvsig / fmap / algorithm / triangulation / pirol / DelaunayLoopItem.java @ 22583
History | View | Annotate | Download (1.62 KB)
1 |
/*
|
---|---|
2 |
* Created on 05.01.2005
|
3 |
*
|
4 |
* SVN header information:
|
5 |
* $Author: LBST-PF-3\orahn $
|
6 |
* $Rev: 2446 $
|
7 |
* $Date: 2006-09-12 14:57:25 +0200 (Di, 12 Sep 2006) $
|
8 |
* $Id: DelaunayLoopItem.java 2446 2006-09-12 12:57:25Z LBST-PF-3\orahn $
|
9 |
*/
|
10 |
package org.gvsig.fmap.algorithm.triangulation.pirol; |
11 |
|
12 |
|
13 |
/**
|
14 |
* Class tha describes the needed values to start an iteration in the culculation
|
15 |
* of a delaunay diagramm.
|
16 |
*
|
17 |
* @author Ole Rahn
|
18 |
* <br>
|
19 |
* <br>FH Osnabrück - University of Applied Sciences Osnabrück,
|
20 |
* <br>Project: PIROL (2005),
|
21 |
* <br>Subproject: Daten- und Wissensmanagement
|
22 |
*
|
23 |
* @version $Rev: 2446 $s
|
24 |
*/
|
25 |
public class DelaunayLoopItem { |
26 |
private int triangleCount; |
27 |
private DelaunayPunkt punkt1, punkt2, alterPunkt;
|
28 |
|
29 |
public DelaunayLoopItem(DelaunayPunkt punkt1, DelaunayPunkt punkt2, DelaunayPunkt alterPunkt,
|
30 |
int triangleCount) {
|
31 |
super();
|
32 |
this.punkt1 = punkt1;
|
33 |
this.punkt2 = punkt2;
|
34 |
this.alterPunkt = alterPunkt;
|
35 |
this.triangleCount = triangleCount;
|
36 |
} |
37 |
|
38 |
public DelaunayLoopItem(DelaunayPunkt punkt1, DelaunayPunkt punkt2, DelaunayPunkt alterPunkt) {
|
39 |
super();
|
40 |
this.punkt1 = punkt1;
|
41 |
this.punkt2 = punkt2;
|
42 |
this.alterPunkt = alterPunkt;
|
43 |
this.triangleCount = -1; |
44 |
} |
45 |
|
46 |
|
47 |
public DelaunayPunkt getAlterPunkt() {
|
48 |
return alterPunkt;
|
49 |
} |
50 |
public DelaunayPunkt getPunkt1() {
|
51 |
return punkt1;
|
52 |
} |
53 |
public DelaunayPunkt getPunkt2() {
|
54 |
return punkt2;
|
55 |
} |
56 |
public int getTriangleCount() { |
57 |
return triangleCount;
|
58 |
} |
59 |
} |