Skip to content

ludus::foundation::geometry::PathView

Ludus Wiki · API overview · Browse API

Struct

Borrowed, allocation-free view of a PreparedPath.
The view does not own storage; it is valid while its PreparedPath is alive and unmodified. A default view has no spans.

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

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

Fields

Spans

BorrowedView<const PreparedSpan> ludus::foundation::geometry::PathView::Spans
Prepared spans in path order.

Related types: BorrowedView · PreparedSpan

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

Joints

BorrowedView<const JointContinuity> ludus::foundation::geometry::PathView::Joints
Joint i follows span i; a closed path's last joint closes it.

Related types: BorrowedView · JointContinuity

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

Origin

math::Vector3d ludus::foundation::geometry::PathView::Origin {}
Float64 chunk origin of every control.

Related types: math::Vector3d

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

IsClosed

bool ludus::foundation::geometry::PathView::IsClosed = false
Whether Wrap is valid.

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

Revision

uint64 ludus::foundation::geometry::PathView::Revision = 0
Owner-assigned revision from PathSource.

Related types: uint64

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

PositionFloor

float64 ludus::foundation::geometry::PathView::PositionFloor = 0.0
ADR 0024 floor of the prepared controls (Exact).

Related types: float64

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

EffectivePositionError

float64 ludus::foundation::geometry::PathView::EffectivePositionError = 0.0
max(PositionError, RelativePositionError x AssetScale).

Related types: float64

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

Tolerance

ToleranceProfile ludus::foundation::geometry::PathView::Tolerance {}
Profile the path was prepared with, including thresholds.

Related types: ToleranceProfile

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