@welldot/utils
getProfileDiamValues
Collects every diameter value present in a well's constructive section.
getProfileDiamValues(
constructionData):number
Collects every diameter value present in a well's constructive section.
Includes diameters from bore holes, hole fills, surface casings, well screens,
well casings, and both ends of each reducer (diam_from and diam_to).
Useful for computing the overall diameter range when scaling a cross-section
diagram.
Parameters
constructionData
Constructive
The constructive section of a well.
Returns
number
Flat array of all diameter values (in millimeters), in component order: bore_hole → hole_fill → surface_case → well_screen → well_case → reduction (diam_from, diam_to pairs).