API / geotoolkit3d / data / loader / surface / EarthVisionLoader / EarthVisionLoader
surface.EarthVisionLoader.EarthVisionLoader
A loader dedicated for EarthVision grid surface.
EarthVision is a common-used format in oil & gas softwares such as Petrel.
It has grid dimension defined at file header. The dataset specification is in a form of (x, y, z, [colume], [row]) for each line.
↳
EarthVisionLoader
Constructors
Methods
Constructors
• new EarthVisionLoader()
AbstractLoader<EarthVisionLoader.ParsedResult&gt;.constructor
Methods
▸ getClassName(): string
string
▸ load(url, params?): void
Loads the file at the given URL. Could be either local or remote url.
This convenience function exists to mimic THREEJS loaders API.
Internally it uses THREE.XHRLoader and THREE.LoadingManager.
One could also use directly the function parse() to handle loading the dataset manually/differently.
Note that, for convenience, this function returns a Promise AND accepts callbacks (that do not contribute to the returned promise).
One is free to use either the Promise or the callback to be 'notified' when the stream is ready.
| Name | Type | Description |
|---|---|---|
url | string | the url of the file |
Optional params | LoadOptions<ParsedResult> | the optional parameters |
void
▸ Static getClassName(): string
string