SegGeom struct
#include <gtopt/line_losses.hpp>
Geometry of one piecewise-linear segment built by add_segments for the static PWL approximation of the convex loss curve ℓ(f) = (R/V²)·f² on [0, envelope].
width— Δf covered by this segment (becomes the seg col's upper bound when caps are enforced; the LP picksΣ seg_k = |f|).slope— chord slope ofℓ/(R/V²)on this segment, i.e. the geometric pre-factor. The actual loss-row coefficient isslope × R / V².