buffalo_wings.airfoil.SplineCurveSpec

class buffalo_wings.airfoil.SplineCurveSpec(type='spline_curve', representation='bezier', control_points=<factory>)[source]

Bases: object

Directly authored spline-backed open curve definition.

Notes

The first supported schema slice stores only Bezier control points and keeps the runtime neutral enough for future non-Bezier spline backends.

Attributes

type

Schema discriminator for a spline-backed open curve.

representation

Supported spline representation subtype.

control_points

Open-curve control points ordered from u = 0 to u = 1.

type: Literal['spline_curve']

Schema discriminator for a spline-backed open curve.

representation: Literal['bezier']

Supported spline representation subtype.

control_points: list[tuple[float, float]]

Open-curve control points ordered from u = 0 to u = 1.