public class Transformation_2
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
Jama.Matrix |
m |
| Constructor and Description |
|---|
Transformation_2()
The identity transformation
|
Transformation_2(double theta)
Define a rotation of an angle theta
|
Transformation_2(double s1,
double s2)
Define a scaling by factors s1 and s2
|
Transformation_2(Jama.Matrix m)
The identity transformation
|
Transformation_2(Vector_2 v)
Define a translation by a vector v
|
| Modifier and Type | Method and Description |
|---|---|
Transformation_2 |
compose(Transformation_2 t)
Compose two transformations
|
Point_2 |
transform(Point_2 p)
Apply the transformation to point p (given in cartesian coordinates)
|
public Transformation_2(Jama.Matrix m)
public Transformation_2()
public Transformation_2(Vector_2 v)
public Transformation_2(double s1,
double s2)
public Transformation_2(double theta)
public Point_2 transform(Point_2 p)
public Transformation_2 compose(Transformation_2 t)