Skip to content
Last updated

API / geotoolkit / welllog3d / data / Borehole3DData / Borehole3DData

Class: Borehole3DData

data.Borehole3DData.Borehole3DData

Borehole3DData holds the data to create Borehole3D object.

Hierarchy

Table of contents

Constructors
  • [new Borehole3DData(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.welllog3d.data-6.borehole3ddata.borehole3ddata.md#new borehole3ddata(options))
Methods

Contents

Constructors

new Borehole3DData(options)

• new Borehole3DData(options?)

Parameters

Name Type
Optional optionsOptions

Overrides

ArrayLogAbstractData.constructor

Methods

calculateLimits

▸ calculateLimits(calculateValues): Borehole3DData

Recalculate depth limits and optional value limits

Parameters

Name Type Description
calculateValuesbooleanRecalculate depth limits and optional value limits or not

Returns

Borehole3DData

this


dataChanged

▸ dataChanged(): void

Notifies this shape that the data was changed outside of its knowledge

Returns

void


dispose

▸ dispose(): void

Dispose.

Returns

void

Inherited from

ArrayLogAbstractData.dispose


getClassName

▸ getClassName(): string

Returns

string

Inherited from

ArrayLogAbstractData.getClassName


getDataOrder

▸ getDataOrder(): Order

Get order of depths

Returns

Order

enum describing order of data


getDepths

▸ getDepths(): number[]

Return an array of depths

Returns

number[]


getIndexUnit

▸ getIndexUnit(): AbstractUnit

Returns index unit

Returns

AbstractUnit

Inherited from

ArrayLogAbstractData.getIndexUnit


getMaxAngle

▸ getMaxAngle(): number

Return maximum angle of columns in radians

Returns

number

Overrides

ArrayLogAbstractData.getMaxAngle


getMaxDepth

▸ getMaxDepth(): number

Return maximum depth

Returns

number

Overrides

ArrayLogAbstractData.getMaxDepth


getMaxRadius

▸ getMaxRadius(): number

Return maximum radius of columns

Returns

number


getMaxValue

▸ getMaxValue(): number

Return maximum value

Returns

number

Overrides

ArrayLogAbstractData.getMaxValue


getMinAngle

▸ getMinAngle(): number

Return minimum angle of columns in radians

Returns

number

Overrides

ArrayLogAbstractData.getMinAngle


getMinDepth

▸ getMinDepth(): number

Return minimum depth

Returns

number

Overrides

ArrayLogAbstractData.getMinDepth


getMinRadius

▸ getMinRadius(): number

Return minimum radius of columns

Returns

number


getMinValue

▸ getMinValue(): number

Return minimum value

Returns

number

Overrides

ArrayLogAbstractData.getMinValue


getName

▸ getName(): string

Return name of the data

Returns

string

Inherited from

ArrayLogAbstractData.getName


getNumberOfRows

▸ getNumberOfRows(): number

Return number of rows

Returns

number

number of rows

Overrides

ArrayLogAbstractData.getNumberOfRows


getRadiusNullValue

▸ getRadiusNullValue(): number

Get the radiusnullvalue of the data

Returns

number

radiusnullvalue


getRow

▸ getRow(index): Borehole3DDataRow

Return a row by index

Parameters

Name Type Description
indexnumberindex of the row

Returns

Borehole3DDataRow

a row

Overrides

ArrayLogAbstractData.getRow


getRows

▸ getRows(): Borehole3DDataRow[]

A array of the rows. if the data in changed then it is necessary to call updateLimits to recalculate the data limits

Returns

Borehole3DDataRow[]


getTimeStamp

▸ getTimeStamp(): number

Return the value to indicate if data source was changed

Returns

number

Inherited from

ArrayLogAbstractData.getTimeStamp


getValuesNullValue

▸ getValuesNullValue(): number

Get the valuesnullvalue of the data

Returns

number

valuesnullvalue


hasEventListener

▸ hasEventListener(type, callback?): boolean

Check if a list of event listeners for this type contains this listener

Parameters

Name Type Description
typestringtype of event or property
Optional callbackFunctionto be called, if null, check if any callback is registered

Returns

boolean

Inherited from

ArrayLogAbstractData.hasEventListener


isDisposed

▸ isDisposed(): boolean

Returns whether this object has been disposed

Returns

boolean

Inherited from

ArrayLogAbstractData.isDisposed


isSilent

▸ isSilent(): boolean

Return true if the event dispatcher doesn't notify any events

Returns

boolean

Inherited from

ArrayLogAbstractData.isSilent


notify

▸ notify<E&gt;(type, source, args?): Borehole3DData

Notify listeners

Type parameters

NameType
Eextends string

Parameters

Name Type Description
typeEevent types
sourceArrayLogAbstractDataof the event
Optional argsEventMap[E]arguments of the event

Returns

Borehole3DData

this

Inherited from

ArrayLogAbstractData.notify


off

▸ off<E&gt;(type?, callback?): Borehole3DData

Detach listener on event. Calling .off() with no arguments removes all attached listeners. Calling .off(type) with no callback removes all attached listeners for specific type.

Type parameters

NameType
Eextends string

Parameters

Name Type Description
Optional typeEtype of the event
Optional callback(eventType: E, sender: Borehole3DData, args: EventMap[E]) => voidfunction to be called

Returns

Borehole3DData

this

Inherited from

ArrayLogAbstractData.off


on

▸ on<E&gt;(type, callback): Borehole3DData

Attach listener on event that will be called whenever the specified event is delivered to the target <p> If the callback function is already in the list of event listeners for this target, the function is not added a second time. </p> <p> If a particular anonymous function is in the list of event listeners registered for a certain target, and then later in the code, an identical anonymous function is given in an "on" call, the second function will also be added to the list of event listeners for that target. </p>

Type parameters

NameType
Eextends string

Parameters

Name Type Description
typeEtype of event or property
callback(eventType: E, sender: Borehole3DData, args: EventMap[E]) => voidto be called

Returns

Borehole3DData

this

Inherited from

ArrayLogAbstractData.on


setIndexUnit

▸ setIndexUnit(unit?): Borehole3DData

Sets index unit

Parameters

Name Type Description
Optional unitstring | AbstractUnitindex unit

Returns

Borehole3DData

this

Inherited from

ArrayLogAbstractData.setIndexUnit


setName

▸ setName(name): Borehole3DData

Set name of the data

Parameters

Name Type Description
namestringThe data name

Returns

Borehole3DData

this

Inherited from

ArrayLogAbstractData.setName


setRadiusNullValue

▸ setRadiusNullValue(value): Borehole3DData

Set the radiusnullvalue of the data

Parameters

Name Type Description
valuenumbernullvalue

Returns

Borehole3DData

this


setSilent

▸ setSilent(bool): Borehole3DData

Set silent mode

Parameters

Name Type Description
boolbooleanflag to enable silent mode

Returns

Borehole3DData

this

Inherited from

ArrayLogAbstractData.setSilent


setValuesNullValue

▸ setValuesNullValue(value): Borehole3DData

Set the valuesnullvalue of the data

Parameters

Name Type Description
valuenumbernullvalue

Returns

Borehole3DData

this


update

▸ Protected update(args?): void

Notify if data is changed

Parameters

Name Type Description
Optional argsLogDataEventoptional parameters

Returns

void

Inherited from

ArrayLogAbstractData.update


updateLimits

▸ updateLimits(): Borehole3DData

Recalculate depth and value limits

Returns

Borehole3DData

this


updateTimeStamp

▸ Protected updateTimeStamp(): void

Update time stamp

Returns

void

Inherited from

ArrayLogAbstractData.updateTimeStamp


createFrom

▸ Static createFrom(log2dData, radius?): Borehole3DData

Create a Borehole3DData with a fixed radius from Log2DVisualData.

Parameters

Name Type Description
log2dDataLog2DVisualDataLog2DVisualData
Optional radiusnumberOptional, Default to 1

Returns

Borehole3DData

Borehole3DData


getClassName

▸ Static getClassName(): string

Returns

string

Inherited from

ArrayLogAbstractData.getClassName