| Package | org.un.flex.utils.geom |
| Class | public class PoincareIsometry |
| Implements | IIsometry |
ComplexNumbers
| Property | Defined by | ||
|---|---|---|---|
| a : ComplexNumber
Returns point A (Complex Number) of the Isometry.
| PoincareIsometry | ||
| c : ComplexNumber
Returns point C (Complex Number) of the Isometry.
| PoincareIsometry | ||
| Method | Defined by | ||
|---|---|---|---|
|
PoincareIsometry(ar:Number = 0, ai:Number = 0, cr:Number = 0, ci:Number = 0)
Constructs an isometry for the Poincare model
| PoincareIsometry | ||
|
applyToPoint(mp1:IPoint):void
Applies this isometry to a given
IPoint and modify it. | PoincareIsometry | ||
|
applyToVector(vector:IVector):void
Applies this isometry to a given
IVector and modify it. | PoincareIsometry | ||
|
clone():Object
Creates a deep copy of this isometry.
| PoincareIsometry | ||
|
equals(obj:Object):Boolean
Returns true if the parameter object is equals to
this and false otherwise.
| PoincareIsometry | ||
|
Returns a new instance of this isometry representing its inverse.
| PoincareIsometry | ||
|
invert():void
Inverts this isometry.
| PoincareIsometry | ||
|
multiplyLeft(isometry:IIsometry):void
Multiplies the given isometry with this isometry (to the left) and store the result:
this = isometry this
| PoincareIsometry | ||
|
multiplyRight(isometry:IIsometry):void
Multiplies this isometry with the given isometry (to the right) and store the result:
this = this isometry
| PoincareIsometry | ||
|
Sets this isometry to the given isometry.
| PoincareIsometry | ||
|
setToIdentity():void
Sets the isometry to an identity transformation.
| PoincareIsometry | ||
|
toString():String
Returns a string representation of the isometry.
| PoincareIsometry | ||
| a | property |
a:ComplexNumber [read-write]Returns point A (Complex Number) of the Isometry.
Implementation public function get a():ComplexNumber
public function set a(value:ComplexNumber):void
| c | property |
c:ComplexNumber [read-write]Returns point C (Complex Number) of the Isometry.
Implementation public function get c():ComplexNumber
public function set c(value:ComplexNumber):void
| PoincareIsometry | () | constructor |
public function PoincareIsometry(ar:Number = 0, ai:Number = 0, cr:Number = 0, ci:Number = 0)Constructs an isometry for the Poincare model
Parametersar:Number (default = 0) — The real part of point A
|
|
ai:Number (default = 0) — The imaginary part of point A
|
|
cr:Number (default = 0) — The real part of point C
|
|
ci:Number (default = 0) — The imaginary part of point C
|
| applyToPoint | () | method |
public function applyToPoint(mp1:IPoint):void
Applies this isometry to a given IPoint and modify it.
mp1:IPoint — The point to be modified.
|
| applyToVector | () | method |
public function applyToVector(vector:IVector):void
Applies this isometry to a given IVector and modify it.
vector:IVector — The vector to be modified.
|
| clone | () | method |
public function clone():ObjectCreates a deep copy of this isometry.
ReturnsObject — A deep copy of this isometry.
|
| equals | () | method |
public function equals(obj:Object):BooleanReturns true if the parameter object is equals to this and false otherwise.
Parametersobj:Object — Any object.
|
Boolean — True if obj equals this.
|
| getInverse | () | method |
public function getInverse():IIsometryReturns a new instance of this isometry representing its inverse. In other words: this this.getInverse() = Identity This isometry is not modified.
ReturnsIIsometry —
The inverse of this isometry.
|
| invert | () | method |
public function invert():void
Inverts this isometry. Similar to getInverse().
| multiplyLeft | () | method |
public function multiplyLeft(isometry:IIsometry):void
Multiplies the given isometry with this isometry (to the left) and store the result:
this = isometry this
isometry:IIsometry — The isometry multiplied from the left.
|
| multiplyRight | () | method |
public function multiplyRight(isometry:IIsometry):void
Multiplies this isometry with the given isometry (to the right) and store the result:
this = this isometry
isometry:IIsometry — The factor from the right.
|
| setTo | () | method |
public function setTo(isom:IIsometry):voidSets this isometry to the given isometry. The specified isometry must belong to the same model.
Parametersisom:IIsometry — The new isometry.
|
| setToIdentity | () | method |
public function setToIdentity():voidSets the isometry to an identity transformation.
| toString | () | method |
public function toString():StringReturns a string representation of the isometry.
ReturnsString — A String in appropriate format.
|