public class MarvinSegment
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
area |
int |
height |
int |
width |
int |
x1 |
int |
x2 |
int |
y1 |
int |
y2 |
Constructor and Description |
---|
MarvinSegment() |
MarvinSegment(int x1,
int y1,
int x2,
int y2) |
Modifier and Type | Method and Description |
---|---|
static void |
segmentMinDistance(java.util.List<MarvinSegment> segments,
double minDistance) |
java.lang.String |
toString() |
public int x1
public int x2
public int y1
public int y2
public int width
public int height
public int area
public MarvinSegment()
public MarvinSegment(int x1, int y1, int x2, int y2)
public java.lang.String toString()
toString
in class java.lang.Object
public static void segmentMinDistance(java.util.List<MarvinSegment> segments, double minDistance)