Package | Description |
---|---|
com.sun.electric.api.minarea.geometry |
Modifier and Type | Class and Description |
---|---|
static class |
Point.NullPoint
Use objects of type NullPoint as an equivalent to null
|
static class |
Point.Vector |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Point> |
Polygon.points |
Modifier and Type | Method and Description |
---|---|
Point |
Point.add(Point other)
Method to add another Point to this.
|
Point |
Edge.getHead() |
Point |
Polygon.Rectangle.getMax()
Method to return the maximum X/Y in a Point.
|
Point |
Polygon.Rectangle.getMin()
Method to return the minimum X/Y in a Point.
|
Point |
Edge.getTail() |
Point |
Point.mirror() |
Point |
Point.scale(int scaleFactor)
Method to scale this Point by a given factor.
|
Point |
Point.scale(int scaleFactorX,
int scaleFactorY)
Method to scale this Point by X and Y factors.
|
Point |
Point.transform(ManhattanOrientation orientation)
Method to transform this by a Manhattan orientation.
|
Point |
Point.withX(int xCoord)
Method to build a new Point with a different X coordinate.
|
Point |
Point.withY(int yCoord)
Method to build a new Point with a different Y coordinate.
|
Modifier and Type | Method and Description |
---|---|
Point |
Point.add(Point other)
Method to add another Point to this.
|
Constructor and Description |
---|
Edge(Point tail,
Point head) |
Point.Vector(Point head,
Point tail) |
Polygon.PolygonHole(Point... points) |
Polygon.Rectangle(Point min,
Point max)
Constructor to build a Rectangle from two points.
|
Polygon(Point... points) |