Skip to content

ludus::foundation::geometry::SweepProfileKey

Ludus Wiki · API overview · Browse API

Struct

One key of the section profile, linear in path distance and clamped outside the keys.

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/sweep.hpp

#include <ludus/foundation/geometry/sweep.hpp>
struct ludus::foundation::geometry::SweepProfileKey final

Fields

Distance

PathDistance ludus::foundation::geometry::SweepProfileKey::Distance {}
Estimated path distance of the key; keys strictly increase.

Related types: PathDistance

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/sweep.hpp

Scale

float64 ludus::foundation::geometry::SweepProfileKey::Scale = 0.0
Ribbon width or tube radius, asset units; finite and > 0.

Related types: float64

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/sweep.hpp

RollRadians

float64 ludus::foundation::geometry::SweepProfileKey::RollRadians = 0.0
Authored roll about the tangent, radians; finite.

Related types: float64

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/sweep.hpp