API / geotoolkit / data / DataValueArray / DataValueArray
data.DataValueArray.DataValueArray
Defines two arrays depths and values of samples
Constructors
| [new DataValueArray(options)](/solutions/geotoolkit/apis/classes/geotoolkit.data.datavaluearray.datavaluearray.md#new datavaluearray(options)) | [new DataValueArray(samples)](/solutions/geotoolkit/apis/classes/geotoolkit.data.datavaluearray.datavaluearray.md#new datavaluearray(samples)) |
|---|
Methods
Css Properties
| Name | Type | Description |
|---|---|---|
maxwraplevel | number | Max wrap level |
minwraplevel | number | Min wrap level |
Constructors
• new DataValueArray(options?)
| Name | Type |
|---|---|
Optional options | Options |
• new DataValueArray(samples?)
| Name | Type |
|---|---|
Optional samples | DataSample[] |
Methods
▸ clone(): DataValueArray
Create a deep copy
clone
▸ getClassName(): string
string
▸ getMaxWrapLevel(): number
Return maximum wrap level. By default, it is 0
number
▸ getMinWrapLevel(): number
Return minimum wrap level. By default, it is 0
number
▸ getProperties(): Required<Options>
Gets all the properties pertaining to this object
Required<Options>
properties object
▸ getSamples(): DataSample[]
Gets samples array
▸ setMaxWrapLevel(maxWrapLevel): DataValueArray
Sets a maximal wrap level
| Name | Type | Description |
|---|---|---|
maxWrapLevel | number | the maximal wrap level |
▸ setMinWrapLevel(minWrapLevel): DataValueArray
Sets a minimal wrap level
| Name | Type | Description |
|---|---|---|
minWrapLevel | number | the minimal wrap level |
▸ setProperties(properties?): DataValueArray
Sets all the properties pertaining to this object
| Name | Type | Description |
|---|---|---|
Optional properties | Options | An object containing the properties to set |
▸ setSamples(samples): DataValueArray
Sets samples array
| Name | Type | Description |
|---|---|---|
samples | DataSample[] | the samples array |
▸ Static getClassName(): string
string