Skip to content

API / geotoolkit3d / data / loader / surface / EarthVisionLoader / EarthVisionLoader

Class: EarthVisionLoader

surface.EarthVisionLoader.EarthVisionLoader

A loader dedicated for EarthVision grid surface.<br> EarthVision is a common-used format in oil & gas softwares such as Petrel.<br> It has grid dimension defined at file header. The dataset specification is in a form of (x, y, z, [colume], [row]) for each line.<br>

Hierarchy

Table of contents

Constructors
  • [new EarthVisionLoader()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit3d.data-8.loader.surface.earthvisionloader.earthvisionloader.md#new earthvisionloader())
Methods

Contents

Constructors

new EarthVisionLoader()

• new EarthVisionLoader()

Overrides

AbstractLoader&lt;EarthVisionLoader.ParsedResult&amp;gt;.constructor

Methods

getClassName

▸ getClassName(): string

Returns

string

Inherited from

AbstractLoader.getClassName


load

▸ load(url, params?): void

Loads the file at the given URL. Could be either local or remote url.<br> This convenience function exists to mimic THREEJS loaders API.<br> Internally it uses THREE.XHRLoader and THREE.LoadingManager.<br> <br> One could also use directly the function parse() to handle loading the dataset manually/differently. <br> Note that, for convenience, this function returns a Promise AND accepts callbacks (that do not contribute to the returned promise).<br> One is free to use either the Promise or the callback to be 'notified' when the stream is ready.<br> <br>

Parameters

Name Type Description
urlstringthe url of the file
Optional paramsLoadOptions<ParsedResult&gt;the optional parameters

Returns

void

Overrides

AbstractLoader.load


getClassName

▸ Static getClassName(): string

Returns

string

Inherited from

AbstractLoader.getClassName