Skip to content

ludus::foundation::geometry::SweepMeshReport

Ludus Wiki · API overview · Browse API

Struct

Counts and estimated errors of a planned sweep.

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

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

Fields

RingCount

usize ludus::foundation::geometry::SweepMeshReport::RingCount = 0
Rings, including a closed sweep's duplicated seam ring.

Related types: usize

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

SectionSegmentCount

usize ludus::foundation::geometry::SweepMeshReport::SectionSegmentCount = 0
Tube polygon segments, or 1 for a ribbon.

Related types: usize

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

VertexCount

usize ludus::foundation::geometry::SweepMeshReport::VertexCount = 0
Vertices TryEmitSweepMesh writes.

Related types: usize

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

IndexCount

usize ludus::foundation::geometry::SweepMeshReport::IndexCount = 0
Indices TryEmitSweepMesh writes (three per triangle).

Related types: usize

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

LongitudinalErrorEstimate

float64 ludus::foundation::geometry::SweepMeshReport::LongitudinalErrorEstimate = 0.0
Largest accepted deviation between rings, asset units: the control-hull distance from the chord plus the sampled midpoint deviation of the section points.

Related types: float64

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

CrossSectionErrorEstimate

float64 ludus::foundation::geometry::SweepMeshReport::CrossSectionErrorEstimate = 0.0
Largest scale x (1 - cos(pi / segments)); 0 for a ribbon.

Related types: float64

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

ErrorGuarantee

GuaranteeClass ludus::foundation::geometry::SweepMeshReport::ErrorGuarantee = GuaranteeClass::Estimated
Class of both error values.

Related types: GuaranteeClass

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

SelfIntersectionRiskCount

usize ludus::foundation::geometry::SweepMeshReport::SelfIntersectionRiskCount = 0
Rings whose section half-extent times path curvature reaches 1, a local self-intersection risk.

Related types: usize

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

MaxBendRatio

float64 ludus::foundation::geometry::SweepMeshReport::MaxBendRatio = 0.0
Largest section half-extent times curvature over the rings.

Related types: float64

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

RiskGuarantee

GuaranteeClass ludus::foundation::geometry::SweepMeshReport::RiskGuarantee = GuaranteeClass::Estimated
Estimated: a sampled local check, never a proof that the swept surface is simple.

Related types: GuaranteeClass

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