Last updated

API / geotoolkit / deviation / PiecewiseTransformer / PiecewiseTransformer

Class: PiecewiseTransformer

deviation.PiecewiseTransformer.PiecewiseTransformer

The class PiecewiseTransformer is an implementation of Transformer2D. It transforms the actual geometry by applying the deviation. Trajectory's measured depth values are equal to the original 2D-spaces's Y-values.

Hierarchy

Table of contents

Constructors
Methods
Css Properties
Name Type Description
approxthresholdnumberApproximation threshold for trajectory points in pixels. It is the maximum distance of the original stations from the approximated path
approxthresholdmdnumberApproximation trajectory for measured depths in measured depth units. if it is not specified then equals to options.approxThreshold
joinsegmentsbooleanIf this is true then approximation is applied to the segment and a smooth transformation is created between two linear segments
outlinemodelbboxadjustbooleanIf this is true then uniform data distribution is applied along the track, including the intersection and rupture of line stations
outlinesegmentsbooleanIf this is true then outline stations is used

Contents

Constructors

new PiecewiseTransformer(options)

new PiecewiseTransformer(options?)

Parameters

Name Type
Optional optionsOptions

Overrides

Transformer2d.constructor

Methods

create

create(transformerContext, transformation?): DeviatedTransformation

Creates a deviated transformation

Parameters

Name Type Description
transformerContextContexttransformer context
Optional transformationTransformationaffine transformation applied

Returns

DeviatedTransformation

transformation created

Overrides

Transformer2d.create


getClassName

getClassName(): string

Returns

string

Inherited from

Transformer2d.getClassName


getOptions

getOptions(): Required<Options>

Gets options NOTE: copy of options is created and returned.

Returns

Required<Options>

options


getProperties

getProperties(): Required<Options>

Gets properties

Returns

Required<Options>

options


setOptions

setOptions(options?): PiecewiseTransformer

Sets options. The default is the current state of the object.

Parameters

Name Type Description
Optional optionsOptionsoptions

Returns

PiecewiseTransformer

this

Overrides

Transformer2d.setOptions


setProperties

setProperties(options?): PiecewiseTransformer

Sets properties. The default is the current state of the object.

Parameters

Name Type Description
Optional optionsOptionsoptions

Returns

PiecewiseTransformer

this


getClassName

Static getClassName(): string

Returns

string

Inherited from

Transformer2d.getClassName