API / geotoolkit / las / LasParameterSection / LasParameterSection
las.LasParameterSection.LasParameterSection
A section of LAS Data obtained from parser.
↳
LasParameterSection
Constructors
Methods
Constructors
• new LasParameterSection(section?)
| Name | Type |
|---|---|
Optional section | Options |
LasSection.constructor
Methods
▸ addComment(position, comment): LasParameterSection
Added Comment
| Name | Type | Description |
|---|---|---|
position | number | displacement relative to header |
comment | string | comment |
▸ getAssociations(): string
Gets associations of this section
string
▸ getComments(): LasComments
Gets comments
▸ getData(): LasParameter[]
Gets data
▸ getName(): string
Gets name
string
▸ getParameter(mnemonic): LasParameter
Gets parameter object associated with mnemonic in parameter line
| Name | Type | Description |
|---|---|---|
mnemonic | string | parameter mnemonic |
▸ getParameterValue(mnemonic): string | number
Gets value associated with mnemonic in parameter line The value is parsed as string. It Will be either number or text.
| Name | Type | Description |
|---|---|---|
mnemonic | string | parameter mnemonic |
string | number
▸ setData(data): LasParameterSection
Sets data
| Name | Type | Description |
|---|---|---|
data | Data | data |
▸ setName(name): LasParameterSection
Set section name
| Name | Type | Description |
|---|---|---|
name | string | section name |
▸ setParameter(mnemonic, unit, value, description?, forceNonUniqueMnemonic?): LasParameterSection
Set param
Throws
Error if mnemonic is null
| Name | Type | Description |
|---|---|---|
mnemonic | string | mnemonic |
unit | string | unit |
value | string | number | value |
Optional description | string | description |
Optional forceNonUniqueMnemonic | boolean | lets adding extra LasParameter rather then replacing an existing one with the same mnemonic |