Last updated

API / geotoolkit / las / Las20 / Las20

Class: Las20

las.Las20.Las20

LAS Parser for LAS version 2.0.

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new Las20()

new Las20()

Overrides

LasParser.constructor

Methods

buildSections

buildSections(): (LasParameterSection | LasSectionGroup)[]

Builds sections to be read

Returns

(LasParameterSection | LasSectionGroup)[]

Overrides

LasParser.buildSections


detectIndexUnit

detectIndexUnit(str): string

Searches through whole LAS file to determine index unit

Parameters

Name Type Description
strstringdetectIndexUnit

Returns

string

Inherited from

LasParser.detectIndexUnit


detectWrap

detectWrap(str): boolean

Detects the type of an LAS file wrap or not. Works for all LAS

Parameters

Name Type Description
strstringthe LAS file to be searched

Returns

boolean

wrap

Inherited from

LasParser.detectWrap


getSectionGroups

getSectionGroups(): LasSectionGroup[]

Gets all the section groups. Doesn't include sections not in groups.

Returns

LasSectionGroup[]

array of LasSectionGroup

Inherited from

LasParser.getSectionGroups


getSections

getSections(): LasParameterSection[]

Returns all sections not part of a group

Throws

when invoked to indicate the method should be overridden.

Returns

LasParameterSection[]

array of LasSection

Inherited from

LasParser.getSections


parse

parse(str): Options[]

Builds string input into our data structures.

Throws

when invoked to indicate the method should be overridden.

Parameters

Name Type Description
strstringinput to parse

Returns

Options[]

with parsed contents

Overrides

LasParser.parse


isDataMainSectionName

Static isDataMainSectionName(name): boolean

Checks if input string follows LAS3.0 or LAS2.0 data main section naming convention (convenience method)

Parameters

Name Type Description
namestringstring to be matched

Returns

boolean

verification result

Inherited from

LasParser.isDataMainSectionName


isVersionSectionName

Static isVersionSectionName(name): boolean

Checks if input string follows LAS3.0 or LAS2.0 version section naming convention (convenience method)

Parameters

Name Type Description
namestringstring to be matched

Returns

boolean

verification result

Inherited from

LasParser.isVersionSectionName


isWellSectionName

Static isWellSectionName(name): boolean

Checks if input string follows LAS3.0 or LAS2.0 well section naming convention (convenience method)

Parameters

Name Type Description
namestringstring to be matched

Returns

boolean

verification result

Inherited from

LasParser.isWellSectionName