API / geotoolkit / animation / processors / AbstractProcessor / AbstractProcessor
processors.AbstractProcessor.AbstractProcessor
This class provide interface for processors which are used by AbstractEffect to animate complex structures like object, array or other.
| Name | Type |
|---|---|
T | any |
AbstractProcessor
Constructors
Constructors
• new AbstractProcessor<T>()
| Name | Type |
|---|---|
T | any |
Methods
▸ Abstract clone(v): T
Returns clone of passed object
| Name | Type | Description |
|---|---|---|
v | T | object to clone |
T
clone
▸ distance(v1, v2): number
Calculate distance between two objects
| Name | Type | Description |
|---|---|---|
v1 | T | first object |
v2 | T | second object |
number
distance
▸ getClassName(): string
string
▸ Abstract process(from, to, out, func): T
Method iterates over passed object, extracts numeric properties and call function with them
| Name | Type | Description |
|---|---|---|
from | T | initial state |
to | T | target state |
out | T | destination state |
func | ProcessAnimationCallback | interpolate function |
T
res destination state
▸ Static getClassName(): string
string