Skip to content

ludus::foundation::geometry::GeometryDiagnostic

Ludus Wiki · API overview · Browse API

Struct

Structured preparation diagnostic; consumers log and attach resource identity.
Property is a static string naming the offending source property, never owned text. Unused numeric fields stay zero.

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

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

Fields

Code

GeometryStatus ludus::foundation::geometry::GeometryDiagnostic::Code = GeometryStatus::Success
Failure that produced the diagnostic.

Related types: GeometryStatus

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

SourceElement

usize ludus::foundation::geometry::GeometryDiagnostic::SourceElement = 0
Source span, waypoint or key index.

Related types: usize

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

Property

const char* ludus::foundation::geometry::GeometryDiagnostic::Property = ""
Static property path, such as "Keys.Time".

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

RequestedTolerance

float64 ludus::foundation::geometry::GeometryDiagnostic::RequestedTolerance = 0.0
Requested tolerance in the property's unit.

Related types: float64

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

AchievedBound

float64 ludus::foundation::geometry::GeometryDiagnostic::AchievedBound = 0.0
Best bound reached, in the same unit.

Related types: float64

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

AchievedGuarantee

GuaranteeClass ludus::foundation::geometry::GeometryDiagnostic::AchievedGuarantee = GuaranteeClass::Exact
Class of AchievedBound.

Related types: GuaranteeClass

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

Domain

DomainKind ludus::foundation::geometry::GeometryDiagnostic::Domain = DomainKind::SegmentParameter
Domain of RangeStart and RangeEnd.

Related types: DomainKind

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

RangeStart

float64 ludus::foundation::geometry::GeometryDiagnostic::RangeStart = 0.0
Start of the offending range.

Related types: float64

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

RangeEnd

float64 ludus::foundation::geometry::GeometryDiagnostic::RangeEnd = 0.0
End of the offending range.

Related types: float64

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