Last updated

API / geotoolkit / data / NormalizeDataConversion / NormalizeDataConversion

Class: 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.

Hierarchy

Table of contents

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))
Methods
Css Properties
Name Type Description
maxnumberHigher source limit
minnumberLower source limit

Contents

Constructors

new NormalizeDataConversion(min, max)

new NormalizeDataConversion(min?, max?)

Parameters

Name Type
Optional minnumber
Optional maxnumber

Overrides

DataConversion.constructor


new NormalizeDataConversion(options)

new NormalizeDataConversion(options?)

Parameters

Name Type
Optional optionsOptions

Overrides

DataConversion.constructor

Methods

direct

direct(v): number

Direct convert

Throws

when invoked to indicate the method should be overridden.

Parameters

Name Type Description
vnumbervalue to convert

Returns

number

Overrides

DataConversion.direct


getClassName

getClassName(): string

Returns

string

Inherited from

DataConversion.getClassName


getProperties

getProperties(): Required<Options>

Gets all the properties pertaining to this object

Returns

Required<Options>

properties object

Overrides

DataConversion.getProperties


reverse

reverse(v): number

Reverse convert

Throws

when invoked to indicate the method should be overridden.

Parameters

Name Type Description
vnumbervalue to convert

Returns

number

Overrides

DataConversion.reverse


setProperties

setProperties(properties?): NormalizeDataConversion

Sets all the properties pertaining to this object

Parameters

Name Type Description
Optional propertiesOptionsAn object containing the properties to set

Returns

NormalizeDataConversion

Overrides

DataConversion.setProperties


getClassName

Static getClassName(): string

Returns

string

Inherited from

DataConversion.getClassName