public abstract class AbstractFixpRectangle
extends java.awt.geom.Rectangle2D
Constructor and Description |
---|
AbstractFixpRectangle() |
Modifier and Type | Method and Description |
---|---|
void |
add(java.awt.geom.Rectangle2D r) |
abstract AbstractFixpRectangle |
createFixp(long fixpMinX,
long fixpMinY,
long fixpMaxX,
long fixpMaxY) |
java.awt.geom.Rectangle2D |
createIntersection(java.awt.geom.Rectangle2D r) |
java.awt.geom.Rectangle2D |
createUnion(java.awt.geom.Rectangle2D r) |
double |
getCenterX()
Returns the X coordinate of the center of the framing
rectangle of the
AbstractFixpRectangle in double
precision. |
double |
getCenterY()
Returns the Y coordinate of the center of the framing
rectangle of the
AbstractFixpRectangle in double
precision. |
FixpCoord |
getCoordCenterX()
Returns the X coordinate of the center of this
AbstractFixpRectangle as FixpCoord object. |
FixpCoord |
getCoordCenterY()
Returns the Y coordinate of the center of this
AbstractFixpRectangle as FixpCoord object. |
FixpCoord |
getCoordHeight()
Returns the heigth of this
AbstractFixpRectangle as ECoord object. |
FixpCoord |
getCoordMaxX()
Returns the largest X coordinate of this
AbstractFixpRectangle as ECoord object. |
FixpCoord |
getCoordMaxY()
Returns the largest Y coordinate of this
AbstractFixpRectangle as ECoord object. |
FixpCoord |
getCoordMinX()
Returns the smallest X coordinate of this
AbstractFixpRectangle as ECoord object. |
FixpCoord |
getCoordMinY()
Returns the smallest Y coordinate of this
AbstractFixpRectangle as ECoord object. |
FixpCoord |
getCoordWidth()
Returns the width of this
AbstractFixpRectangle as ECoord object. |
long |
getFixpCenterX() |
long |
getFixpCenterY() |
long |
getFixpHeight() |
abstract long |
getFixpMaxX() |
abstract long |
getFixpMaxY() |
abstract long |
getFixpMinX() |
abstract long |
getFixpMinY() |
long |
getFixpWidth() |
long |
getFixpX()
Returns the X coordinate of this
AbstractFixpRectangle
in fixed-point units in long precision. |
long |
getFixpY()
Returns the Y coordinate of this
AbstractFixpRectangle
in fixed-point units in long precision. |
double |
getHeight()
Returns the heigth of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getLambdaCenterX()
Returns the X coordinate of the center of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getLambdaCenterY()
Returns the Y coordinate of the center of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getLambdaHeight()
Returns the heigth of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getLambdaMaxX()
Returns the largest X coordinate of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getLambdaMaxY()
Returns the largest Y coordinate of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getLambdaMinX()
Returns the smallest X coordinate of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getLambdaMinY()
Returns the smallest Y coordinate of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getLambdaWidth()
Returns the width of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getLambdaX()
Returns the X coordinate of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getLambdaY()
Returns the Y coordinate of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getMaxX()
Returns the largest X coordinate of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getMaxY()
Returns the largest Y coordinate of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getMinX()
Returns the smallest X coordinate of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getMinY()
Returns the smallest Y coordinate of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getWidth()
Returns the width of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getX()
Returns the X coordinate of this
AbstractFixpRectangle
in lambda units in double precision. |
double |
getY()
Returns the Y coordinate of this
AbstractFixpRectangle
in lambda units in double precision. |
boolean |
isEmpty() |
int |
outcode(double x,
double y) |
abstract void |
setFixp(long fixpMinX,
long fixpMinY,
long fixpMaxX,
long fixpMaxY) |
void |
setRect(double x,
double y,
double w,
double h) |
void |
setRect(java.awt.geom.Rectangle2D r) |
java.lang.String |
toString() |
add, add, contains, contains, equals, getBounds2D, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, union
public abstract long getFixpMinX()
public abstract long getFixpMinY()
public abstract long getFixpMaxX()
public abstract long getFixpMaxY()
public abstract void setFixp(long fixpMinX, long fixpMinY, long fixpMaxX, long fixpMaxY)
public abstract AbstractFixpRectangle createFixp(long fixpMinX, long fixpMinY, long fixpMaxX, long fixpMaxY)
public long getFixpWidth()
public long getFixpHeight()
public long getFixpCenterX()
public long getFixpCenterY()
public void setRect(double x, double y, double w, double h)
setRect
in class java.awt.geom.Rectangle2D
public int outcode(double x, double y)
outcode
in class java.awt.geom.Rectangle2D
public java.awt.geom.Rectangle2D createIntersection(java.awt.geom.Rectangle2D r)
createIntersection
in class java.awt.geom.Rectangle2D
public java.awt.geom.Rectangle2D createUnion(java.awt.geom.Rectangle2D r)
createUnion
in class java.awt.geom.Rectangle2D
public void add(java.awt.geom.Rectangle2D r)
add
in class java.awt.geom.Rectangle2D
public void setRect(java.awt.geom.Rectangle2D r)
setRect
in class java.awt.geom.Rectangle2D
public double getX()
AbstractFixpRectangle
in lambda units in double precision.getX
in class java.awt.geom.RectangularShape
AbstractFixpRectangle
.public double getY()
AbstractFixpRectangle
in lambda units in double precision.getY
in class java.awt.geom.RectangularShape
AbstractFixpRectangle
.public double getWidth()
AbstractFixpRectangle
in lambda units in double precision.getWidth
in class java.awt.geom.RectangularShape
AbstractFixpRectangle
.public double getHeight()
AbstractFixpRectangle
in lambda units in double precision.getHeight
in class java.awt.geom.RectangularShape
AbstractFixpRectangle
.public double getMinX()
AbstractFixpRectangle
in lambda units in double
precision.getMinX
in class java.awt.geom.RectangularShape
AbstractFixpRectangle
.public double getMinY()
AbstractFixpRectangle
in lambda units in double
precision.getMinY
in class java.awt.geom.RectangularShape
AbstractFixpRectangle
.public double getMaxX()
AbstractFixpRectangle
in lambda units in double
precision.getMaxX
in class java.awt.geom.RectangularShape
AbstractFixpRectangle
.public double getMaxY()
AbstractFixpRectangle
in lambda units in double
precision.getMaxY
in class java.awt.geom.RectangularShape
AbstractFixpRectangle
.public double getCenterX()
AbstractFixpRectangle
in double
precision.getCenterX
in class java.awt.geom.RectangularShape
AbstractFixpRectangle
.public double getCenterY()
AbstractFixpRectangle
in double
precision.getCenterY
in class java.awt.geom.RectangularShape
AbstractFixpRectangle
.public FixpCoord getCoordWidth()
AbstractFixpRectangle
as ECoord object.AbstractFixpRectangle
as ECoord object.public FixpCoord getCoordHeight()
AbstractFixpRectangle
as ECoord object.AbstractFixpRectangle
as ECoord object.public FixpCoord getCoordMinX()
AbstractFixpRectangle
as ECoord object.AbstractFixpRectangle
as ECoord object.public FixpCoord getCoordMinY()
AbstractFixpRectangle
as ECoord object.AbstractFixpRectangle
as ECoord object.public FixpCoord getCoordMaxX()
AbstractFixpRectangle
as ECoord object.AbstractFixpRectangle
as ECoord object.public FixpCoord getCoordMaxY()
AbstractFixpRectangle
as ECoord object.AbstractFixpRectangle
as ECoord object.public FixpCoord getCoordCenterX()
AbstractFixpRectangle
as FixpCoord object.AbstractFixpRectangle
object's center.public FixpCoord getCoordCenterY()
AbstractFixpRectangle
as FixpCoord object.AbstractFixpRectangle
object's center.public double getLambdaX()
AbstractFixpRectangle
in lambda units in double precision.AbstractFixpRectangle
.public double getLambdaY()
AbstractFixpRectangle
in lambda units in double precision.AbstractFixpRectangle
.public double getLambdaWidth()
AbstractFixpRectangle
in lambda units in double precision.AbstractFixpRectangle
.public double getLambdaHeight()
AbstractFixpRectangle
in lambda units in double precision.AbstractFixpRectangle
.public double getLambdaMinX()
AbstractFixpRectangle
in lambda units in double
precision.AbstractFixpRectangle
.public double getLambdaMinY()
AbstractFixpRectangle
in lambda units in double
precision.AbstractFixpRectangle
.public double getLambdaMaxX()
AbstractFixpRectangle
in lambda units in double
precision.AbstractFixpRectangle
.public double getLambdaMaxY()
AbstractFixpRectangle
in lambda units in double
precision.AbstractFixpRectangle
.public double getLambdaCenterX()
AbstractFixpRectangle
in lambda units in double
precision.AbstractFixpRectangle
object's center.public double getLambdaCenterY()
AbstractFixpRectangle
in lambda units in double
precision.AbstractFixpRectangle
object's center.public long getFixpX()
AbstractFixpRectangle
in fixed-point units in long precision.AbstractFixpRectangle
.public long getFixpY()
AbstractFixpRectangle
in fixed-point units in long precision.AbstractFixpRectangle
.public boolean isEmpty()
isEmpty
in class java.awt.geom.RectangularShape
public java.lang.String toString()
toString
in class java.lang.Object