|
Spec-Zone .ru
спецификации, руководства, описания, API
|
public class Affine extends Transform
The Affine class represents an affine transform. An affine
transform performs a linear mapping from 2D/3D coordinates to other 2D/3D
coordinates while preserving the "straightness" and "parallelness"
of lines.
Affine transformations can be constructed using sequence rotations,
translations, scales, and shears.
Note: application developers should not normally use this class directly,
but instead use the specific Translate, Scale,
Rotate, or Shear transforms instead.
Such a coordinate transformation can be represented by a 3 row by
4 column matrix. This matrix transforms source coordinates (x,y,z)
into destination coordinates (x',y',z') by considering
them to be a column vector and multiplying the coordinate vector
by the matrix according to the following process:
[ x'] [ mxx mxy mxz tx ] [ x ] [ mxx * x + mxy * y + mxz * z + tx ]
[ y'] = [ myx myy myz ty ] [ y ] = [ myx * x + myy * y + myz * z + ty ]
[ z'] [ mzx mzy mzz tz ] [ z ] [ mzx * x + mzy * y + mzz * z + tz ]
[ 1 ]
| Type | Property and Description |
|---|---|
DoubleProperty |
mxx
Defines the X coordinate scaling element of the 3x4 matrix.
|
DoubleProperty |
mxy
Defines the XY coordinate element of the 3x4 matrix.
|
DoubleProperty |
mxz
Defines the XZ coordinate element of the 3x4 matrix.
|
DoubleProperty |
myx
Defines the YX coordinate element of the 3x4 matrix.
|
DoubleProperty |
myy
Defines the Y coordinate scaling element of the 3x4 matrix.
|
DoubleProperty |
myz
Defines the YZ coordinate element of the 3x4 matrix.
|
DoubleProperty |
mzx
Defines the ZX coordinate element of the 3x4 matrix.
|
DoubleProperty |
mzy
Defines the ZY coordinate element of the 3x4 matrix.
|
DoubleProperty |
mzz
Defines the Z coordinate scaling element of the 3x4 matrix.
|
DoubleProperty |
tx
Defines the X coordinate translation element of the 3x4 matrix.
|
DoubleProperty |
ty
Defines the Y coordinate translation element of the 3x4 matrix.
|
DoubleProperty |
tz
Defines the Z coordinate translation element of the 3x4 matrix.
|
| Constructor and Description |
|---|
Affine() |
| Modifier and Type | Method and Description |
|---|---|
double |
getMxx()
Defines the X coordinate scaling element of the 3x4 matrix.
|
double |
getMxy()
Defines the XY coordinate element of the 3x4 matrix.
|
double |
getMxz()
Defines the XZ coordinate element of the 3x4 matrix.
|
double |
getMyx()
Defines the YX coordinate element of the 3x4 matrix.
|
double |
getMyy()
Defines the Y coordinate scaling element of the 3x4 matrix.
|
double |
getMyz()
Defines the YZ coordinate element of the 3x4 matrix.
|
double |
getMzx()
Defines the ZX coordinate element of the 3x4 matrix.
|
double |
getMzy()
Defines the ZY coordinate element of the 3x4 matrix.
|
double |
getMzz()
Defines the Z coordinate scaling element of the 3x4 matrix.
|
double |
getTx()
Defines the X coordinate translation element of the 3x4 matrix.
|
double |
getTy()
Defines the Y coordinate translation element of the 3x4 matrix.
|
double |
getTz()
Defines the Z coordinate translation element of the 3x4 matrix.
|
DoubleProperty |
mxxProperty()
Defines the X coordinate scaling element of the 3x4 matrix.
|
DoubleProperty |
mxyProperty()
Defines the XY coordinate element of the 3x4 matrix.
|
DoubleProperty |
mxzProperty()
Defines the XZ coordinate element of the 3x4 matrix.
|
DoubleProperty |
myxProperty()
Defines the YX coordinate element of the 3x4 matrix.
|
DoubleProperty |
myyProperty()
Defines the Y coordinate scaling element of the 3x4 matrix.
|
DoubleProperty |
myzProperty()
Defines the YZ coordinate element of the 3x4 matrix.
|
DoubleProperty |
mzxProperty()
Defines the ZX coordinate element of the 3x4 matrix.
|
DoubleProperty |
mzyProperty()
Defines the ZY coordinate element of the 3x4 matrix.
|
DoubleProperty |
mzzProperty()
Defines the Z coordinate scaling element of the 3x4 matrix.
|
void |
setMxx(double value)
Defines the X coordinate scaling element of the 3x4 matrix.
|
void |
setMxy(double value)
Defines the XY coordinate element of the 3x4 matrix.
|
void |
setMxz(double value)
Defines the XZ coordinate element of the 3x4 matrix.
|
void |
setMyx(double value)
Defines the YX coordinate element of the 3x4 matrix.
|
void |
setMyy(double value)
Defines the Y coordinate scaling element of the 3x4 matrix.
|
void |
setMyz(double value)
Defines the YZ coordinate element of the 3x4 matrix.
|
void |
setMzx(double value)
Defines the ZX coordinate element of the 3x4 matrix.
|
void |
setMzy(double value)
Defines the ZY coordinate element of the 3x4 matrix.
|
void |
setMzz(double value)
Defines the Z coordinate scaling element of the 3x4 matrix.
|
void |
setTx(double value)
Defines the X coordinate translation element of the 3x4 matrix.
|
void |
setTy(double value)
Defines the Y coordinate translation element of the 3x4 matrix.
|
void |
setTz(double value)
Defines the Z coordinate translation element of the 3x4 matrix.
|
java.lang.String |
toString()
Returns a string representation of this
Affine object. |
DoubleProperty |
txProperty()
Defines the X coordinate translation element of the 3x4 matrix.
|
DoubleProperty |
tyProperty()
Defines the Y coordinate translation element of the 3x4 matrix.
|
DoubleProperty |
tzProperty()
Defines the Z coordinate translation element of the 3x4 matrix.
|
getMxx(),
setMxx(double)getMxy(),
setMxy(double)getMxz(),
setMxz(double)getTx(),
setTx(double)getMyx(),
setMyx(double)getMyy(),
setMyy(double)getMyz(),
setMyz(double)getTy(),
setTy(double)getMzx(),
setMzx(double)getMzy(),
setMzy(double)getMzz(),
setMzz(double)getTz(),
setTz(double)public final void setMxx(double value)
public final double getMxx()
public final DoubleProperty mxxProperty()
getMxx(),
setMxx(double)public final void setMxy(double value)
public final double getMxy()
public final DoubleProperty mxyProperty()
getMxy(),
setMxy(double)public final void setMxz(double value)
public final double getMxz()
public final DoubleProperty mxzProperty()
getMxz(),
setMxz(double)public final void setTx(double value)
public final double getTx()
public final DoubleProperty txProperty()
getTx(),
setTx(double)public final void setMyx(double value)
public final double getMyx()
public final DoubleProperty myxProperty()
getMyx(),
setMyx(double)public final void setMyy(double value)
public final double getMyy()
public final DoubleProperty myyProperty()
getMyy(),
setMyy(double)public final void setMyz(double value)
public final double getMyz()
public final DoubleProperty myzProperty()
getMyz(),
setMyz(double)public final void setTy(double value)
public final double getTy()
public final DoubleProperty tyProperty()
getTy(),
setTy(double)public final void setMzx(double value)
public final double getMzx()
public final DoubleProperty mzxProperty()
getMzx(),
setMzx(double)public final void setMzy(double value)
public final double getMzy()
public final DoubleProperty mzyProperty()
getMzy(),
setMzy(double)public final void setMzz(double value)
public final double getMzz()
public final DoubleProperty mzzProperty()
getMzz(),
setMzz(double)public final void setTz(double value)
public final double getTz()
public final DoubleProperty tzProperty()
getTz(),
setTz(double)public java.lang.String toString()
Affine object.toString in class java.lang.ObjectAffine object.Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. Use is subject to .