HE_Mesh
6.0.1
|
Private Attributes | |
double | _xt |
WB_M33 | T |
WB_M33 | invT |
wblut.geom.WB_Transform2D.WB_Transform2D | ( | ) |
Instantiates a new WB_Transfrom.
wblut.geom.WB_Transform2D.WB_Transform2D | ( | final WB_Transform2D | Trans | ) |
Trans |
References wblut.math.WB_M33.get(), wblut.geom.WB_Transform2D.invT, and wblut.geom.WB_Transform2D.T.
WB_Transform2D wblut.geom.WB_Transform2D.addFromCSToCS2D | ( | final WB_CoordinateSystem2D | CS1, |
final WB_CoordinateSystem2D | CS2 | ||
) |
CS1 | |
CS2 |
References wblut.geom.WB_Transform2D.addFromCSToWorld2D(), and wblut.geom.WB_Transform2D.addFromWorldToCS2D().
WB_Transform2D wblut.geom.WB_Transform2D.addFromCSToParent2D | ( | final WB_CoordinateSystem2D | CS | ) |
CS |
References wblut.geom.WB_Transform2D.addTranslate2D(), wblut.geom.WB_Vector.dot(), wblut.geom.WB_CoordinateSystem2D.getOrigin(), wblut.geom.WB_CoordinateSystem2D.getX(), wblut.geom.WB_CoordinateSystem2D.getY(), wblut.geom.WB_CoordinateSystem2D.isWorld(), wblut.math.WB_M33.mul(), wblut.geom.WB_Point.subSelf(), and wblut.geom.WB_CoordinateSystem2D.WORLD().
WB_Transform2D wblut.geom.WB_Transform2D.addFromCSToWorld2D | ( | final WB_CoordinateSystem2D | CS | ) |
CS |
References wblut.geom.WB_Transform2D.addFromCSToParent2D(), wblut.geom.WB_CoordinateSystem2D.getParent(), and wblut.geom.WB_CoordinateSystem2D.isWorld().
WB_Transform2D wblut.geom.WB_Transform2D.addFromParentToCS2D | ( | final WB_CoordinateSystem2D | CS | ) |
WB_Transform2D wblut.geom.WB_Transform2D.addFromWorldToCS2D | ( | final WB_CoordinateSystem2D | CS | ) |
CS |
References wblut.geom.WB_Transform2D.addFromCSToWorld2D(), wblut.geom.WB_Transform2D.invT, wblut.math.WB_M33.mul(), wblut.geom.WB_Transform2D.T, and wblut.geom.WB_Transform2D.WB_Transform2D().
WB_Transform2D wblut.geom.WB_Transform2D.addInvert2D | ( | ) |
WB_Transform2D wblut.geom.WB_Transform2D.addInvert2D | ( | final WB_Coord | p | ) |
Adds the invert.
p | the p |
References wblut.geom.WB_Transform2D.addScale2D(), and wblut.geom.WB_Transform2D.addTranslate2D().
WB_Transform2D wblut.geom.WB_Transform2D.addReflect2D | ( | final WB_Coord | p1, |
final WB_Coord | p2 | ||
) |
p1 | |
p2 |
References wblut.math.WB_M33.mul(), wblut.geom.WB_Vector.sub(), wblut.geom.WB_Coord.xd(), wblut.geom.WB_MutableCoordinate.xd(), wblut.geom.WB_Coord.yd(), and wblut.geom.WB_MutableCoordinate.yd().
WB_Transform2D wblut.geom.WB_Transform2D.addReflectX | ( | ) |
WB_Transform2D wblut.geom.WB_Transform2D.addReflectX | ( | final WB_Coord | p | ) |
Adds the reflect x.
p | the p |
References wblut.geom.WB_Transform2D.addScale2D(), and wblut.geom.WB_Transform2D.addTranslate2D().
WB_Transform2D wblut.geom.WB_Transform2D.addReflectY | ( | ) |
WB_Transform2D wblut.geom.WB_Transform2D.addReflectY | ( | final WB_Coord | p | ) |
Adds the reflect y.
p | the p |
References wblut.geom.WB_Transform2D.addScale2D(), and wblut.geom.WB_Transform2D.addTranslate2D().
WB_Transform2D wblut.geom.WB_Transform2D.addRotateAboutOrigin | ( | final double | angle | ) |
Add rotation around origin.
angle | angle in radians |
References wblut.math.WB_M33.getTranspose(), and wblut.math.WB_M33.mul().
WB_Transform2D wblut.geom.WB_Transform2D.addRotateAboutPoint | ( | final double | angle, |
final WB_Coord | p | ||
) |
Add rotation around point.
angle | angle in radians |
p | point |
References wblut.geom.WB_Transform2D.addRotateAboutOrigin(), and wblut.geom.WB_Transform2D.addTranslate2D().
WB_Transform2D wblut.geom.WB_Transform2D.addScale2D | ( | final WB_Coord | s | ) |
Add uniform scale to transform.
s | scaling vector |
References wblut.math.WB_M33.mul(), wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
WB_Transform2D wblut.geom.WB_Transform2D.addScale2D | ( | final double | sx, |
final double | sy | ||
) |
Add non-uniform scale to transform.
sx | scaling vector |
sy | scaling vector |
References wblut.math.WB_M33.mul().
WB_Transform2D wblut.geom.WB_Transform2D.addScale2D | ( | final double | s | ) |
Add uniform scale to transform.
s | scaling point |
References wblut.math.WB_M33.mul().
WB_Transform2D wblut.geom.WB_Transform2D.addShear2D | ( | final double | shx, |
final double | shy | ||
) |
References wblut.math.WB_M33.inverse(), and wblut.math.WB_M33.mul().
WB_Transform2D wblut.geom.WB_Transform2D.addTranslate2D | ( | final WB_Coord | v | ) |
Add translation to transform.
v | vector |
References wblut.math.WB_M33.mul(), wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
WB_Transform2D wblut.geom.WB_Transform2D.addTranslate2D | ( | final double | f, |
final WB_Coord | v | ||
) |
f | |
v |
References wblut.math.WB_M33.mul(), wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
Apply as normal.
p |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
WB_Vector wblut.geom.WB_Transform2D.applyAsNormal2D | ( | final double | x, |
final double | y | ||
) |
Apply as normal.
x | |
y |
References wblut.math.WB_M33.m11, and wblut.math.WB_M33.m21.
void wblut.geom.WB_Transform2D.applyAsNormal2DInto | ( | final WB_Coord | n, |
final WB_MutableCoord | result | ||
) |
n | |
result |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.geom.WB_MutableCoord.set(), wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
void wblut.geom.WB_Transform2D.applyAsNormal2DInto | ( | final double | x, |
final double | y, | ||
final WB_MutableCoord | result | ||
) |
x | |
y | |
result |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, and wblut.geom.WB_MutableCoord.set().
void wblut.geom.WB_Transform2D.applyAsNormal2DSelf | ( | final WB_MutableCoord | n | ) |
Apply transform to normal.
n | normal |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.geom.WB_MutableCoord.set(), wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
Apply transform to point.
p | point |
References wblut.math.WB_Epsilon.isZero(), wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.math.WB_M33.m31, wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
WB_Point wblut.geom.WB_Transform2D.applyAsPoint2D | ( | final double | x, |
final double | y | ||
) |
Apply as point.
x | |
y |
References wblut.math.WB_Epsilon.isZero(), wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, and wblut.math.WB_M33.m31.
void wblut.geom.WB_Transform2D.applyAsPoint2DInto | ( | final WB_Coord | p, |
final WB_MutableCoord | result | ||
) |
p | |
result |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.math.WB_M33.m31, wblut.geom.WB_MutableCoord.set(), wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
void wblut.geom.WB_Transform2D.applyAsPoint2DInto | ( | final double | x, |
final double | y, | ||
final WB_MutableCoord | result | ||
) |
x | |
y | |
result |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.math.WB_M33.m31, and wblut.geom.WB_MutableCoord.set().
void wblut.geom.WB_Transform2D.applyAsPoint2DSelf | ( | final WB_MutableCoord | p | ) |
Apply transform to point.
p | point |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.math.WB_M33.m31, wblut.geom.WB_MutableCoord.set(), wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
Apply transform to vector.
p | vector |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
WB_Vector wblut.geom.WB_Transform2D.applyAsVector2D | ( | final double | x, |
final double | y | ||
) |
Apply as vector.
x | |
y |
References wblut.math.WB_M33.m11, and wblut.math.WB_M33.m21.
void wblut.geom.WB_Transform2D.applyAsVector2DInto | ( | final WB_Coord | p, |
final WB_MutableCoord | result | ||
) |
p | |
result |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.geom.WB_MutableCoord.set(), wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
void wblut.geom.WB_Transform2D.applyAsVector2DInto | ( | final double | x, |
final double | y, | ||
final WB_MutableCoord | result | ||
) |
x | |
y | |
result |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, and wblut.geom.WB_MutableCoord.set().
void wblut.geom.WB_Transform2D.applyAsVector2DSelf | ( | final WB_MutableCoord | p | ) |
Apply transform to vector.
p | vector |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.geom.WB_MutableCoord.set(), wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
n |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
WB_Vector wblut.geom.WB_Transform2D.applyInvAsNormal2D | ( | final double | x, |
final double | y | ||
) |
x | |
y |
References wblut.math.WB_M33.m11, and wblut.math.WB_M33.m21.
void wblut.geom.WB_Transform2D.applyInvAsNormal2DInto | ( | final WB_Coord | n, |
final WB_MutableCoord | result | ||
) |
n | |
result |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.geom.WB_MutableCoord.set(), wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
void wblut.geom.WB_Transform2D.applyInvAsNormal2DInto | ( | final double | x, |
final double | y, | ||
final WB_MutableCoord | result | ||
) |
x | |
y | |
result |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, and wblut.geom.WB_MutableCoord.set().
void wblut.geom.WB_Transform2D.applyInvAsNormal2DSelf | ( | final WB_MutableCoord | n | ) |
n |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.geom.WB_MutableCoord.set(), wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
p |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.math.WB_M33.m31, wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
WB_Point wblut.geom.WB_Transform2D.applyInvAsPoint2D | ( | final double | x, |
final double | y | ||
) |
x | |
y |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, and wblut.math.WB_M33.m31.
void wblut.geom.WB_Transform2D.applyInvAsPoint2DInto | ( | final WB_Coord | p, |
final WB_MutableCoord | result | ||
) |
p | |
result |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.math.WB_M33.m31, wblut.geom.WB_MutableCoord.set(), wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
void wblut.geom.WB_Transform2D.applyInvAsPoint2DInto | ( | final double | x, |
final double | y, | ||
final WB_MutableCoord | result | ||
) |
x | |
y | |
result |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.math.WB_M33.m31, and wblut.geom.WB_MutableCoord.set().
void wblut.geom.WB_Transform2D.applyInvAsPoint2DSelf | ( | final WB_MutableCoord | p | ) |
p |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.math.WB_M33.m31, wblut.geom.WB_MutableCoord.set(), wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
p |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
WB_Vector wblut.geom.WB_Transform2D.applyInvAsVector2D | ( | final double | x, |
final double | y | ||
) |
x | |
y |
References wblut.math.WB_M33.m11, and wblut.math.WB_M33.m21.
void wblut.geom.WB_Transform2D.applyInvAsVector2DInto | ( | final WB_Coord | p, |
final WB_MutableCoord | result | ||
) |
p | |
result |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.geom.WB_MutableCoord.set(), wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
void wblut.geom.WB_Transform2D.applyInvAsVector2DInto | ( | final double | x, |
final double | y, | ||
final WB_MutableCoord | result | ||
) |
x | |
y | |
result |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, and wblut.geom.WB_MutableCoord.set().
void wblut.geom.WB_Transform2D.applyInvAsVector2DSelf | ( | final WB_MutableCoord | v | ) |
v |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, wblut.geom.WB_MutableCoord.set(), wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
void wblut.geom.WB_Transform2D.clear | ( | ) |
Clear transform.
WB_Transform2D wblut.geom.WB_Transform2D.get | ( | ) |
References wblut.geom.WB_Transform2D.WB_Transform2D().
void wblut.geom.WB_Transform2D.inverse | ( | ) |
Invert transform.
References wblut.geom.WB_Transform2D.invT, and wblut.geom.WB_Transform2D.T.
String wblut.geom.WB_Transform2D.toString | ( | ) |
References wblut.math.WB_M33.m11, wblut.math.WB_M33.m21, and wblut.math.WB_M33.m31.
|
private |
|
private |
Inverse transform matrix.
|
private |
Transform matrix.