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