svn-gvsig-desktop / trunk / libraries / libTopology / src / org / gvsig / jts / voronoi / chen / VoronoiSegment.java @ 21245
History | View | Annotate | Download (425 Bytes)
1 |
package org.gvsig.jts.voronoi.chen; |
---|---|
2 |
|
3 |
/**
|
4 |
* Voronoi diagram
|
5 |
*
|
6 |
* Copyright(c) 1998 Ping-Che Chen
|
7 |
*
|
8 |
* This program defines the line segment used in the Voronoi
|
9 |
* diagram problem.
|
10 |
*
|
11 |
*/
|
12 |
|
13 |
public class VoronoiSegment extends Segment { |
14 |
|
15 |
VoronoiSegment(Vertex v1, Vertex v2) { |
16 |
this.v1 = v1;
|
17 |
this.v2 = v2;
|
18 |
floating = false;
|
19 |
} |
20 |
|
21 |
public final Vertex v1, v2; |
22 |
public boolean floating; |
23 |
|
24 |
} |