API / geotoolkit / data / AbstractScaledData / AbstractScaledData
data.AbstractScaledData.AbstractScaledData
Defines an scaled data interface
AbstractScaledData
Constructors
Methods
Methods
▸ Abstract convertValueFromSource(v, d?): number
Convert value from original source to current scaled data
| Name | Type | Description |
|---|---|---|
v | number | value of the original data source |
Optional d | number | depth of the original data source |
number
▸ Abstract convertValueFromSource(v, d?): number[]
Convert array of values from original source to current scaled data
| Name | Type | Description |
|---|---|---|
v | number[] | array of values of the original data source |
Optional d | number[] | array of depths of the original data source |
number[]
▸ Abstract convertValueToSource(v): number
Convert value from scaled data source to original source
| Name | Type | Description |
|---|---|---|
v | number | value of the scaled data source |
number
▸ Abstract convertValueToSource(v): number[]
Convert array of values from scaled data source to original source
| Name | Type | Description |
|---|---|---|
v | number[] | array of values of the scaled data source |
number[]
▸ getClassName(): string
string
▸ Abstract getDataOrder(): Order
return the order of the data set
▸ Abstract getIndexRange(from, to): Range
Gets index range
| Name | Type | Description |
|---|---|---|
from | number | from position |
to | number | to position |
▸ Abstract getLength(): number
Get length
number
▸ Abstract getMaxPosition(): number
Gets max depth
number
▸ Abstract getMaxValue(): number
Gets max value
number
▸ Abstract getMaxWrapLevel(): number
Gets max wrap level
number
▸ Abstract getMinPosition(): number
Gets min depth
number
▸ Abstract getMinValue(): number
Gets min value
number
▸ Abstract getMinWrapLevel(): number
Gets min wrap level
number
▸ Abstract getPositionArray(): number[]
Gets position array
number[]
Position array
▸ getProperties(): Record<string, any>
Gets all the properties pertaining to this object
Record<string, any>
▸ Abstract getSample(index): DataSample
Return sample at specified index
| Name | Type | Description |
|---|---|---|
index | number | index of the sample |
sample
▸ Abstract getSamples(): DataSample[]
Gets samples
▸ Abstract getSource(): any
Get data source
any
▸ Abstract getValue(position): number
Gets value
| Name | Type |
|---|---|
position | number |
number
▸ Abstract getValueArray(): number[]
Gets value array either
number[]
Value array
▸ Abstract getValueAt(position): number
Gets value
| Name | Type |
|---|---|
position | number |
number
▸ Abstract isForwardOnly(): boolean
Is data source forward only
boolean
▸ Abstract isOutdated(): boolean
If data is outdated
boolean
▸ Abstract setConversion(conversion): void
Sets conversion
| Name | Type |
|---|---|
conversion | DataConversion |
void
▸ Abstract setInterpolation(interpolation): void
Set interpolation
| Name | Type |
|---|---|
interpolation | DataInterpolation |
void
▸ setProperties(properties): AbstractScaledData
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