|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.displayejs.utils.TransformationComposition
public class TransformationComposition
Title: TransformationComposition
Description: A composition of two transformations.
Copyright: Copyright (c) Esquembre Jan 2004
Company: Universidad de Murcia
Constructor Summary | |
---|---|
TransformationComposition(Transformation first,
Transformation second)
Creates a transformation made of two other transformations |
Method Summary | |
---|---|
java.lang.Object |
clone()
Provides a copy of this transformation. |
double[] |
direct(double[] input)
Transforms a given point |
double[] |
inverse(double[] input)
The inverse transformation (if it exists). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransformationComposition(Transformation first, Transformation second)
first
- The first transformationsecond
- The second transformationMethod Detail |
---|
public java.lang.Object clone()
Transformation
clone
in interface Transformation
clone
in class java.lang.Object
public double[] direct(double[] input)
Transformation
direct
in interface Transformation
input
- double[] the coordinates to be transformed
(the array's contents will be changed accordingly)
public double[] inverse(double[] input)
Transformation
inverse
in interface Transformation
input
- double[] the coordinates to be transformed
(the array's contents will be changed accordingly)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |