|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object geometry.Similarity
public final class Similarity
This class represents an orientation preserving similarity of the plane. These maps are of the form z maps to w*z+a, for complex numbers w and a.
Constructor Summary | |
---|---|
Similarity(Complex w,
Complex a)
Construct the similarity z maps to w*z+a. |
|
Similarity(LineSegment s)
Construct the similarity sending zero to the starting point of the segment and one to the ending point. |
Method Summary | |
---|---|
Complex |
map(Complex z)
Apply the similarity to z. |
String |
toString()
Return a representation of the similarity as a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Similarity(Complex w, Complex a)
public Similarity(LineSegment s)
Method Detail |
---|
public Complex map(Complex z)
map
in interface PlanarMap
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |