API / geotoolkit / data / NormalizeDataConversion / NormalizeDataConversion
data.NormalizeDataConversion.NormalizeDataConversion
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.
↳
NormalizeDataConversion
Constructors
| [new NormalizeDataConversion(min, max)](/solutions/geotoolkit/apis/classes/geotoolkit.data.normalizedataconversion.normalizedataconversion.md#new normalizedataconversion(min, max)) | [new NormalizeDataConversion(options)](/solutions/geotoolkit/apis/classes/geotoolkit.data.normalizedataconversion.normalizedataconversion.md#new normalizedataconversion(options)) |
|---|
Css Properties
| Name | Type | Description |
|---|---|---|
max | number | Higher source limit |
min | number | Lower source limit |
Constructors
• new NormalizeDataConversion(min?, max?)
| Name | Type |
|---|---|
Optional min | number |
Optional max | number |
DataConversion.constructor
• new NormalizeDataConversion(options?)
| Name | Type |
|---|---|
Optional options | Options |
DataConversion.constructor
Methods
▸ 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(): Required<Options>
Gets all the properties pertaining to this object
Required<Options>
properties object
▸ 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?): NormalizeDataConversion
Sets all the properties pertaining to this object
| Name | Type | Description |
|---|---|---|
Optional properties | Options | An object containing the properties to set |
▸ Static getClassName(): string
string