API / geotoolkit / data / DataConversion / DataConversion
data.DataConversion.DataConversion
The DataConversion interface class defines the base conversion operations that must be implemented by all conversion objects. Conversion objects are used to modify the values before being sent to the rendering system. Conversion objects simply modify the flow of data values from their current coordinate system to a new coordinate system. This destination coordinate system may be another linear coordinate system or a non-linear mapping like logarithmic. Conversion objects are only associated with the value component of data source. The position component of data source is never modified.
DataConversion
Constructors
Methods
▸ Abstract direct(v): number
Direct convert
Throws
when invoked to indicate the method should be overridden.
| Name | Type | Description |
|---|---|---|
v | number | value to convert |
number
▸ getClassName(): string
string
▸ getProperties(): Record<string, any>
Gets all the properties pertaining to this object
Record<string, any>
object containing properties
▸ Abstract reverse(v): number
Reverse convert
Throws
when invoked to indicate the method should be overridden.
| Name | Type | Description |
|---|---|---|
v | number | value to convert |
number
▸ setProperties(properties): DataConversion
Sets all the properties pertaining to this object
| Name | Type | Description |
|---|---|---|
properties | Record<string, any> | An object containing the properties to set |
this
▸ Static getClassName(): string
string