API / geotoolkit / las / LasVersionSection / LasVersionSection
las.LasVersionSection.LasVersionSection
A version section
↳
LasVersionSection
Constructors
Methods
Constructors
• new LasVersionSection(versionNumber?)
| Name | Type |
|---|---|
Optional versionNumber | string | number |
LasParameterSection.constructor
Methods
▸ addComment(position, comment): LasVersionSection
Added Comment
| Name | Type | Description |
|---|---|---|
position | number | displacement relative to header |
comment | string | comment |
LasParameterSection.addComment
▸ getAssociations(): string
Gets associations of this section
string
LasParameterSection.getAssociations
▸ getComments(): LasComments
Gets comments
LasParameterSection.getComments
▸ 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 |
LasParameterSection.getParameter
▸ 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
LasParameterSection.getParameterValue
▸ setData(data): LasVersionSection
Sets data
| Name | Type | Description |
|---|---|---|
data | Data | data |
▸ setDataValuesDelimiter(dataValuesDelimiter, description?): LasVersionSection
Sets data section values delimiter name
| Name | Type | Description |
|---|---|---|
dataValuesDelimiter | string | data section values delimiter name |
Optional description | string | description |
▸ setName(name): LasVersionSection
Set section name
| Name | Type | Description |
|---|---|---|
name | string | section name |
▸ setParameter(mnemonic, unit, value, description?, forceNonUniqueMnemonic?): LasVersionSection
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 |
LasParameterSection.setParameter
▸ setUseWrap(useWrap, description?): LasVersionSection
Sets wrap mode
| Name | Type | Description |
|---|---|---|
useWrap | boolean | if use wrap |
Optional description | string | description |
▸ setVersion(version, description?): LasVersionSection
Set version number
| Name | Type | Description |
|---|---|---|
version | string | number | version number |
Optional description | string | description |