Skip to content

API / geotoolkit / las / LasComments / LasComments

Class: LasComments

las.LasComments.LasComments

Comments in LAS file

Table of contents

Constructors
  • [new LasComments(sectionName)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.las.lascomments.lascomments.md#new lascomments(sectionname))
Methods

Contents

Constructors

new LasComments(sectionName)

• new LasComments(sectionName)

Constructor

Parameters

Name Type Description
sectionNamestringsection name
Methods

addComment

▸ addComment(position, comment): LasComments

Adds comment

Parameters

Name Type Description
positionnumberposition
commentstringcomment

Returns

LasComments


empty

▸ empty(): boolean

Gets if there are no eny comments

Returns

boolean


getClassName

▸ getClassName(): string

Returns

string


getComment

▸ getComment(position): string

Gets comments

Parameters

Name Type Description
positionnumberposition

Returns

string


getMaxPosition

▸ getMaxPosition(): number

Returns max position

Returns

number


getMinPosition

▸ getMinPosition(): number

Returns min pisition

Returns

number


getSectionName

▸ getSectionName(): string

Gets section name if any

Returns

string


getClassName

▸ Static getClassName(): string

Returns

string