API / geotoolkit / deviation / PiecewiseTransformer / 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.
↳
PiecewiseTransformer
Constructors
Css Properties
| Name | Type | Description |
|---|---|---|
approxthreshold | number | Approximation threshold for trajectory points in pixels. It is the maximum distance of the original stations from the approximated path |
approxthresholdmd | number | Approximation trajectory for measured depths in measured depth units. if it is not specified then equals to options.approxThreshold |
joinsegments | boolean | If this is true then approximation is applied to the segment and a smooth transformation is created between two linear segments |
outlinemodelbboxadjust | boolean | If this is true then uniform data distribution is applied along the track, including the intersection and rupture of line stations |
outlinesegments | boolean | If this is true then outline stations is used |
Constructors
• new PiecewiseTransformer(options?)
| Name | Type |
|---|---|
Optional options | Options |
Transformer2d.constructor
Methods
▸ create(transformerContext, transformation?): DeviatedTransformation
Creates a deviated transformation
| Name | Type | Description |
|---|---|---|
transformerContext | Context | transformer context |
Optional transformation | Transformation | affine transformation applied |
transformation created
▸ getClassName(): string
string
▸ getOptions(): Required<Options>
Gets options NOTE: copy of options is created and returned.
Required<Options>
options
▸ getProperties(): Required<Options>
Gets properties
Required<Options>
options
▸ setOptions(options?): PiecewiseTransformer
Sets options. The default is the current state of the object.
| Name | Type | Description |
|---|---|---|
Optional options | Options | options |
this
▸ setProperties(options?): PiecewiseTransformer
Sets properties. The default is the current state of the object.
| Name | Type | Description |
|---|---|---|
Optional options | Options | options |
this
▸ Static getClassName(): string
string