Skip to content
Last updated

API / geotoolkit / welllog / data / LogDrillingSection / LogDrillingSection

Class: LogDrillingSection

data.LogDrillingSection.LogDrillingSection

Define a drilling section to provide information about start and end depth and start and end time

Example

const section = new LogDrillingSection({
'depthFrom': 100,
'depthTo': 500,
'valueFrom': {'Date': new Date('July 7, 2011 05:00 AM')},
'valueTo': {'Date': new Date('July 7, 2011 06:00 AM')},
'hint': [{
'Depth': 200,
'Time': new Date('July 7, 2011 05:15 AM')
}, {
'Depth': 300,
'Time': new Date('July 7, 2011 05:30 AM')
}, {
'Depth': 400,
'Time': new Date('July 7, 2011 05:45 AM')
}]
});

Table of contents

Constructors
[new LogDrillingSection(depthFrom, depthTo, valueFrom, valueTo, hint)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.welllog.data-4.logdrillingsection.logdrillingsection.md#new logdrillingsection(depthfrom, depthto, valuefrom, valueto, hint))[new LogDrillingSection(params)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.welllog.data-4.logdrillingsection.logdrillingsection.md#new logdrillingsection(params))
Methods
Css Properties
Name Type Description
depthfromnumberDepth from
depthtonumberDepth to
valuefromValueAn object containing valuefrom options
valuefrom-breakbooleanBreak
valuetoValueAn object containing valueto options

Contents

Constructors

new LogDrillingSection(depthFrom, depthTo, valueFrom, valueTo, hint)

• new LogDrillingSection(depthFrom?, depthTo?, valueFrom?, valueTo?, hint?)

Constructor

Parameters

Name Type Description
Optional depthFromnumberfrom depth
Optional depthTonumberto depth
Optional valueFromValuevalue from
Optional valueToValuevalue to
Optional hintHint[]array of rendering hints that will value markers at specified depths, defined by a depth Depth: and time Time:

new LogDrillingSection(params)

• new LogDrillingSection(params?)

Constructor

Parameters

Name Type Description
Optional paramsOptionsproperties object
Methods

getClassName

▸ getClassName(): string

Returns

string


getDepthFrom

▸ getDepthFrom(): number

Gets depth from

Returns

number


getDepthTo

▸ getDepthTo(): number

Get DepthTo

Returns

number


getHint

▸ getHint(): Hint[]

Gets hints associated with this LogDrillingSection

Returns

Hint[]

array of hints


getProperties

▸ getProperties(): OptionsOut

Gets all the properties pertaining to this object

Returns

OptionsOut

properties object


getValueFrom

▸ getValueFrom(): Value

Get value from Used by the DateTimeTickGenerator such that if Break, label is drawn at beginning or end of section instead of middle

Returns

Value


getValueTo

▸ getValueTo(): Value

Get value to Used by the DateTimeTickGenerator such that if Break, label is drawn at beginning or end of section instead of middle

Returns

Value


setProperties

▸ setProperties(properties?): LogDrillingSection

Sets all the properties pertaining to this object

Parameters

Name Type Description
Optional propertiesOptionsAn object containing the properties to set

Returns

LogDrillingSection


getClassName

▸ Static getClassName(): string

Returns

string