Package | Description |
---|---|
com.sun.electric.database.geometry |
Package for geometric support in Electric.
|
com.sun.electric.util.math |
Modifier and Type | Class and Description |
---|---|
class |
EPoint
The
EPoint immutable class defines a point representing a location
in (x, y) coordinate space. |
static class |
PolyBase.Point |
Modifier and Type | Method and Description |
---|---|
protected AbstractFixpPoint |
PolyBase.Point.create(long fixpX,
long fixpY) |
protected AbstractFixpPoint |
EPoint.create(long fixpX,
long fixpY) |
Modifier and Type | Method and Description |
---|---|
static AbstractFixpPoint |
GenMath.closestPointToLine(AbstractFixpPoint p1,
AbstractFixpPoint p2,
AbstractFixpPoint pt)
Method to find the point on a line that is closest to a given point.
|
static AbstractFixpPoint |
GenMath.closestPointToSegment(AbstractFixpPoint p1,
AbstractFixpPoint p2,
AbstractFixpPoint pt)
Method to find the point on a line segment that is closest to a given point.
|
protected abstract AbstractFixpPoint |
AbstractFixpPoint.create(long fixpX,
long fixpY) |
Modifier and Type | Method and Description |
---|---|
static AbstractFixpPoint |
GenMath.closestPointToLine(AbstractFixpPoint p1,
AbstractFixpPoint p2,
AbstractFixpPoint pt)
Method to find the point on a line that is closest to a given point.
|
static AbstractFixpPoint |
GenMath.closestPointToSegment(AbstractFixpPoint p1,
AbstractFixpPoint p2,
AbstractFixpPoint pt)
Method to find the point on a line segment that is closest to a given point.
|
static boolean |
GenMath.containedInRectangle(AbstractFixpRectangle bb,
AbstractFixpPoint pi)
Method to determine if a point is inside a rectangle.
|
static boolean |
DBMath.pointInRect(AbstractFixpPoint pt,
AbstractFixpRectangle bounds) |
FixpTransform |
Orientation.rotateAbout(AbstractFixpPoint c)
Method to return a transformation that rotates an object about a point.
|
void |
Orientation.transform(long fixpX,
long fixpY,
AbstractFixpPoint[] ptSrc,
int srcOff,
AbstractFixpPoint[] ptDst,
int dstOff,
int numPts) |
void |
Orientation.transform(long fixpX,
long fixpY,
AbstractFixpPoint[] ptSrc,
int srcOff,
AbstractFixpPoint[] ptDst,
int dstOff,
int numPts) |
Constructor and Description |
---|
FixpTransform(AbstractFixpPoint anchor,
Orientation orient) |