Skip to content

ludus::foundation::geometry::PathSpanSource

Ludus Wiki · API overview · Browse API

Struct

One source span in float64 asset coordinates.

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

#include <ludus/foundation/geometry/path.hpp>
struct ludus::foundation::geometry::PathSpanSource final

Fields

Kind

SpanKind ludus::foundation::geometry::PathSpanSource::Kind = SpanKind::Cubic
Line or cubic.

Related types: SpanKind

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

Control

core::StaticArray<math::Vector3d, SPAN_CONTROL_COUNT> ludus::foundation::geometry::PathSpanSource::Control {}
Asset-space controls; endpoints are [0] and [3].

Related types: SPAN_CONTROL_COUNT · core::StaticArray · math::Vector3d

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

DomainWidth

float64 ludus::foundation::geometry::PathSpanSource::DomainWidth = 1.0
Width of the source domain (knot or other units) used to scale continuity checks.

Related types: float64

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

SourceElement

usize ludus::foundation::geometry::PathSpanSource::SourceElement = 0
Source waypoint or span index reported by diagnostics and inspection.

Related types: usize

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