|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kaboum.geom.KaboumEdge
public class KaboumEdge
This class define an edge i.e. an oriented segment defined by a start point and an end point. This edge can be labeled as refered to Klamer Schutte algorithm (cf. "An edge labeling approach to concave polygon cliping", Klamer Schutte, PREPRINT submitted 7 july 1995 to ACM Transcations on Graphics).
| Field Summary | |
|---|---|
static int |
INSIDE
|
int |
label
The label |
static int |
OUTSIDE
|
KaboumCoordinate |
p1
The start point |
KaboumCoordinate |
p2
The end point |
static int |
SHARED
|
static int |
UNLABELED
|
| Constructor Summary | |
|---|---|
KaboumEdge(KaboumCoordinate p1,
KaboumCoordinate p2)
Constructs an unlabeled edge . |
|
KaboumEdge(KaboumCoordinate p1,
KaboumCoordinate p2,
int edge)
Constructs an edge . |
|
| Method Summary | |
|---|---|
KaboumExtent |
getExtent()
Return the extent of this edge |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int UNLABELED
public static final int INSIDE
public static final int OUTSIDE
public static final int SHARED
public KaboumCoordinate p1
public KaboumCoordinate p2
public int label
| Constructor Detail |
|---|
public KaboumEdge(KaboumCoordinate p1,
KaboumCoordinate p2,
int edge)
p1 - Start pointp2 - End pointlabel - Label
public KaboumEdge(KaboumCoordinate p1,
KaboumCoordinate p2)
p1 - Start pointp2 - End point| Method Detail |
|---|
public KaboumExtent getExtent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||