Skip to content

ludus::foundation::geometry::SweepMeshPlan

Ludus Wiki · API overview · Browse API

Class

Immutable, validated sweep emission plan; move-only.
Created only by TryPlanSweepMesh. It pins the path revision; emission against another revision fails with StaleRevision.

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

#include <ludus/foundation/geometry/sweep.hpp>
class ludus::foundation::geometry::SweepMeshPlan final

Methods

SweepMeshPlan

ludus::foundation::geometry::SweepMeshPlan::SweepMeshPlan() noexcept=default
Construct an empty plan; emission reports MissingCache.

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

SweepMeshPlan

ludus::foundation::geometry::SweepMeshPlan::SweepMeshPlan(SweepMeshPlan &&other) noexcept=default
Transfer the plan; the source becomes empty.

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

operator=

SweepMeshPlan & ludus::foundation::geometry::SweepMeshPlan::operator=(SweepMeshPlan &&other) noexcept=default
Release this plan and take the other's; the source becomes empty.

Related types: SweepMeshPlan

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

SweepMeshPlan

ludus::foundation::geometry::SweepMeshPlan::SweepMeshPlan(const SweepMeshPlan &)=delete
Copying is disabled: one owner holds the ring storage.

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

operator=

SweepMeshPlan & ludus::foundation::geometry::SweepMeshPlan::operator=(const SweepMeshPlan &)=delete
Copy assignment is disabled: one owner holds the ring storage.

Related types: SweepMeshPlan

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

~SweepMeshPlan

ludus::foundation::geometry::SweepMeshPlan::~SweepMeshPlan()=default
Release the ring storage; views into it become invalid.

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

GetView

SweepMeshPlanView ludus::foundation::geometry::SweepMeshPlan::GetView() const noexcept
Borrow the plan; invalidated by moving or destroying the owner.

Related types: SweepMeshPlanView

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

IsEmpty

bool ludus::foundation::geometry::SweepMeshPlan::IsEmpty() const noexcept
Whether no sweep has been planned into this owner.

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