Constructor and Description |
---|
UTranslate(double dx,
double dy) |
Modifier and Type | Method and Description |
---|---|
XRectangle2D |
apply(XRectangle2D rect) |
UTranslate |
compose(UTranslate other) |
static UTranslate |
dx(double dx) |
static UTranslate |
dy(double dy) |
double |
getDx() |
double |
getDy() |
XPoint2D |
getPosition() |
XPoint2D |
getTranslated(XPoint2D p) |
boolean |
isAlmostSame(UTranslate other) |
UTranslate |
multiplyBy(double v) |
static UTranslate |
none() |
static UTranslate |
point(XPoint2D p) |
UTranslate |
reverse() |
UTranslate |
rotate(double angle) |
UTranslate |
scaled(double scale) |
UTranslate |
sym() |
java.lang.String |
toString() |
public java.lang.String toString()
toString
in class java.lang.Object
public static UTranslate none()
public static UTranslate dx(double dx)
public static UTranslate dy(double dy)
public static UTranslate point(XPoint2D p)
public double getDx()
public double getDy()
public boolean isAlmostSame(UTranslate other)
public UTranslate scaled(double scale)
public UTranslate compose(UTranslate other)
public UTranslate reverse()
public XRectangle2D apply(XRectangle2D rect)
public UTranslate multiplyBy(double v)
public UTranslate sym()
public XPoint2D getPosition()
public UTranslate rotate(double angle)