API / geotoolkit / animation / processors / ObjectProcessor / ObjectProcessor
processors.ObjectProcessor.ObjectProcessor
Can process object {key: value}, typeof value === number
AbstractProcessor<any>↳
ObjectProcessor
Constructors
Constructors
• new ObjectProcessor()
AbstractProcessor<any>.constructor
Methods
▸ clone(v): any
Returns clone of passed object
| Name | Type | Description |
|---|---|---|
v | any | object to clone |
any
clone
▸ distance(v1, v2): number
Calculate distance between two objects
| Name | Type | Description |
|---|---|---|
v1 | any | first object |
v2 | any | second object |
number
distance
▸ getClassName(): string
string
AbstractProcessor.getClassName
▸ process(from, to, out, func): any
Method iterates over passed object, extracts numeric properties and call function with them
| Name | Type | Description |
|---|---|---|
from | any | initial state |
to | any | target state |
out | any | destination state |
func | ProcessAnimationCallback | interpolate function |
any
res destination state
▸ Static getClassName(): string
string
AbstractProcessor.getClassName
▸ Static getInstance(): ObjectProcessor
Returns instance of the ObjectProcessor