Skip to content

ludus::foundation::geometry::SegmentParameter

Ludus Wiki · API overview · Browse API

Struct

Span index and local cubic parameter.
U is dimensionless in [0,1]. An exact span boundary is named by the outgoing span at U = 0, except the terminal endpoint of an open path, which is the last span at U = 1.

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

#include <ludus/foundation/geometry/status.hpp>
struct ludus::foundation::geometry::SegmentParameter final

Fields

SpanIndex

usize ludus::foundation::geometry::SegmentParameter::SpanIndex = 0
Prepared span index; revision-local, not an author ID.

Related types: usize

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

U

float64 ludus::foundation::geometry::SegmentParameter::U = 0.0
Local parameter in [0,1].

Related types: float64

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