Package | Description |
---|---|
pythagoras.f |
The Pythagoras geometry utility classes specialized on
float . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTransform
Implements some code shared by the various
Transform implementations. |
class |
AffineTransform
Implements an affine (3x2 matrix) transform.
|
class |
IdentityTransform
Implements the identity transform.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Transform> |
Transforms.multiply(AffineTransform a,
AffineTransform b,
T into)
Multiplies the supplied two affine transforms, storing the result in
into . |
static <T extends Transform> |
Transforms.multiply(AffineTransform a,
float m00,
float m01,
float m10,
float m11,
float tx,
float ty,
T into)
Multiplies the supplied two affine transforms, storing the result in
into . |
static <T extends Transform> |
Transforms.multiply(float m00,
float m01,
float m10,
float m11,
float tx,
float ty,
AffineTransform b,
T into)
Multiplies the supplied two affine transforms, storing the result in
into . |
static <T extends Transform> |
Transforms.multiply(float am00,
float am01,
float am10,
float am11,
float atx,
float aty,
float bm00,
float bm01,
float bm10,
float bm11,
float btx,
float bty,
T into)
Multiplies the supplied two affine transforms, storing the result in
into . |
Modifier and Type | Method and Description |
---|---|
Transform |
Transform.clone()
Deprecated.
Use
copy() . |
Transform |
AbstractTransform.clone()
Deprecated.
|
Transform |
Transform.concatenate(Transform other)
Returns a new transform comprised of the concatenation of
other to this transform
(i.e. |
Transform |
IdentityTransform.concatenate(Transform other) |
Transform |
AffineTransform.concatenate(Transform other) |
Transform |
Transform.copy()
Returns a copy of this transform.
|
abstract Transform |
AbstractTransform.copy() |
Transform |
Transform.invert()
Returns a new transform that represents the inverse of this transform.
|
Transform |
IdentityTransform.invert() |
Transform |
Transform.lerp(Transform other,
float t)
Returns a new transform comprised of the linear interpolation between this transform and
the specified other.
|
Transform |
IdentityTransform.lerp(Transform other,
float t) |
Transform |
AffineTransform.lerp(Transform other,
float t) |
Transform |
Transform.preConcatenate(Transform other)
Returns a new transform comprised of the concatenation of this transform to
other
(i.e. |
Transform |
IdentityTransform.preConcatenate(Transform other) |
Transform |
AffineTransform.preConcatenate(Transform other) |
Transform |
Transform.rotate(float angle)
Rotates this transform.
|
Transform |
AbstractTransform.rotate(float angle) |
Transform |
Transform.scale(float scaleX,
float scaleY)
Scales this transform by the specified amount in the x and y dimensions.
|
Transform |
AbstractTransform.scale(float scaleX,
float scaleY) |
Transform |
Transform.scaleX(float scaleX)
Scales this transform by the specified amount in the x dimension.
|
Transform |
AbstractTransform.scaleX(float scaleX) |
Transform |
Transform.scaleY(float scaleY)
Scales this transform by the specified amount in the y dimension.
|
Transform |
AbstractTransform.scaleY(float scaleY) |
Transform |
Transform.setRotation(float angle)
Sets the rotation component of this transform.
|
Transform |
AbstractTransform.setRotation(float angle) |
Transform |
Transform.setScale(float scaleX,
float scaleY)
Sets the x and y scale of this transform.
|
Transform |
AbstractTransform.setScale(float scaleX,
float scaleY) |
Transform |
Transform.setScaleX(float scaleX)
Sets the x scale of this transform.
|
Transform |
AbstractTransform.setScaleX(float scaleX) |
Transform |
Transform.setScaleY(float scaleY)
Sets the y scale of this transform.
|
Transform |
AbstractTransform.setScaleY(float scaleY) |
Transform |
Transform.setTransform(float m00,
float m01,
float m10,
float m11,
float tx,
float ty)
Sets the affine transform matrix.
|
Transform |
AbstractTransform.setTransform(float m00,
float m01,
float m10,
float m11,
float tx,
float ty) |
Transform |
Transform.setTranslation(float tx,
float ty)
Sets the translation component of this transform.
|
Transform |
AbstractTransform.setTranslation(float tx,
float ty) |
Transform |
Transform.setTx(float tx)
Sets the x-component of this transform's translation.
|
Transform |
AbstractTransform.setTx(float tx) |
Transform |
Transform.setTy(float ty)
Sets the y-component of this transform's translation.
|
Transform |
AbstractTransform.setTy(float ty) |
Transform |
Transform.setUniformScale(float scale)
Sets the uniform scale of this transform.
|
Transform |
AbstractTransform.setUniformScale(float scale) |
Transform |
Transform.shear(float tx,
float ty)
Shears this transform.
|
Transform |
AbstractTransform.shear(float sx,
float sy) |
Transform |
Transform.shearX(float tx)
Shears this transform in the x dimension.
|
Transform |
AbstractTransform.shearX(float sx) |
Transform |
Transform.shearY(float ty)
Shears this transform in the y dimension.
|
Transform |
AbstractTransform.shearY(float sy) |
Transform |
Transform.translate(float tx,
float ty)
Translates this transform.
|
Transform |
AbstractTransform.translate(float tx,
float ty) |
Transform |
Transform.translateX(float tx)
Translates this transform in the x dimension.
|
Transform |
AbstractTransform.translateX(float tx) |
Transform |
Transform.translateY(float ty)
Translates this transform in the y dimension.
|
Transform |
AbstractTransform.translateY(float ty) |
Transform |
Transform.uniformScale(float scale)
Scales this transform in a uniform manner by the specified amount.
|
Transform |
AbstractTransform.uniformScale(float scale) |
Modifier and Type | Method and Description |
---|---|
Transform |
Transform.concatenate(Transform other)
Returns a new transform comprised of the concatenation of
other to this transform
(i.e. |
Transform |
IdentityTransform.concatenate(Transform other) |
Transform |
AffineTransform.concatenate(Transform other) |
Area |
Area.createTransformedArea(Transform t)
Creates a new area equal to this area transformed by the supplied transform.
|
IShape |
Path.createTransformedShape(Transform t) |
static IShape |
Transforms.createTransformedShape(Transform t,
IShape src)
Creates and returns a new shape that is the supplied shape transformed by this transform's
matrix.
|
Transform |
Transform.lerp(Transform other,
float t)
Returns a new transform comprised of the linear interpolation between this transform and
the specified other.
|
Transform |
IdentityTransform.lerp(Transform other,
float t) |
Transform |
AffineTransform.lerp(Transform other,
float t) |
PathIterator |
Path.pathIterator(Transform t) |
PathIterator |
IShape.pathIterator(Transform at)
Returns an iterator over the path described by this shape.
|
PathIterator |
Area.pathIterator(Transform t) |
PathIterator |
AbstractRoundRectangle.pathIterator(Transform at) |
PathIterator |
AbstractRectangle.pathIterator(Transform t) |
PathIterator |
AbstractQuadCurve.pathIterator(Transform t) |
PathIterator |
AbstractLine.pathIterator(Transform at) |
PathIterator |
AbstractEllipse.pathIterator(Transform at) |
PathIterator |
AbstractCubicCurve.pathIterator(Transform t) |
PathIterator |
AbstractArc.pathIterator(Transform at) |
PathIterator |
RectangularShape.pathIterator(Transform t,
float flatness) |
PathIterator |
Path.pathIterator(Transform t,
float flatness) |
PathIterator |
IShape.pathIterator(Transform at,
float flatness)
Returns an iterator over the path described by this shape.
|
PathIterator |
Area.pathIterator(Transform t,
float flatness) |
PathIterator |
AbstractRectangle.pathIterator(Transform t,
float flatness) |
PathIterator |
AbstractQuadCurve.pathIterator(Transform t,
float flatness) |
PathIterator |
AbstractLine.pathIterator(Transform at,
float flatness) |
PathIterator |
AbstractCubicCurve.pathIterator(Transform at,
float flatness) |
Transform |
Transform.preConcatenate(Transform other)
Returns a new transform comprised of the concatenation of this transform to
other
(i.e. |
Transform |
IdentityTransform.preConcatenate(Transform other) |
Transform |
AffineTransform.preConcatenate(Transform other) |
Ray2 |
Ray2.transform(Transform transform) |
void |
Path.transform(Transform t) |
Ray2 |
IRay2.transform(Transform transform)
Transforms this ray.
|
void |
Area.transform(Transform t)
Transforms this area with the supplied transform.
|
Ray2 |
Ray2.transform(Transform transform,
Ray2 result) |
Ray2 |
IRay2.transform(Transform transform,
Ray2 result)
Transforms this ray, placing the result in the object provided.
|
Ray2 |
Ray2.transformLocal(Transform transform)
Transforms this ray in-place.
|
Copyright © 2017. All rights reserved.