def segment.of
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
1273def segment.of(p: Point, q: Point, u: Point, +length: F32, +distance: F32) -> Segment:
1274 Point{px, py} = p
1275 Point{qx, qy} = q
1276 Point{ux, uy} = u
1277 Segment{px, py, qx, qy, ux, uy, length, distance}