Class RectangleArea
- java.lang.Object
-
- net.sourceforge.plantuml.klimt.geom.RectangleArea
-
public class RectangleArea extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RectangleArea(double minX, double minY, double maxX, double maxY)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RectangleArea
addMaxX(double d)
RectangleArea
addMaxY(double d)
RectangleArea
addMinX(double d)
RectangleArea
addMinY(double d)
static RectangleArea
build(XPoint2D pt1, XPoint2D pt2)
boolean
contains(double x, double y)
boolean
contains(XPoint2D p)
RectangleArea
delta(double m1, double m2)
Side
getClosestSide(XPoint2D pt)
XDimension2D
getDimension()
double
getHeight()
PointDirected
getIntersection(XCubicCurve2D bez)
double
getMaxX()
double
getMaxY()
double
getMinX()
double
getMinY()
XPoint2D
getPointCenter()
UTranslate
getPosition()
double
getWidth()
RectangleArea
merge(RectangleArea other)
RectangleArea
merge(XPoint2D point)
RectangleArea
move(double deltaX, double deltaY)
java.lang.String
toString()
RectangleArea
withMaxX(double d)
RectangleArea
withMaxY(double d)
RectangleArea
withMinX(double d)
RectangleArea
withMinY(double d)
-
-
-
Method Detail
-
build
public static RectangleArea build(XPoint2D pt1, XPoint2D pt2)
-
move
public RectangleArea move(double deltaX, double deltaY)
-
getWidth
public double getWidth()
-
getHeight
public double getHeight()
-
contains
public boolean contains(double x, double y)
-
merge
public RectangleArea merge(RectangleArea other)
-
merge
public RectangleArea merge(XPoint2D point)
-
contains
public boolean contains(XPoint2D p)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getMinX
public final double getMinX()
-
getMinY
public final double getMinY()
-
getMaxX
public final double getMaxX()
-
getMaxY
public final double getMaxY()
-
getIntersection
public PointDirected getIntersection(XCubicCurve2D bez)
-
getPointCenter
public XPoint2D getPointCenter()
-
withMinX
public RectangleArea withMinX(double d)
-
withMaxX
public RectangleArea withMaxX(double d)
-
addMaxX
public RectangleArea addMaxX(double d)
-
addMaxY
public RectangleArea addMaxY(double d)
-
addMinX
public RectangleArea addMinX(double d)
-
addMinY
public RectangleArea addMinY(double d)
-
withMinY
public RectangleArea withMinY(double d)
-
withMaxY
public RectangleArea withMaxY(double d)
-
delta
public RectangleArea delta(double m1, double m2)
-
getDimension
public XDimension2D getDimension()
-
getPosition
public UTranslate getPosition()
-
-