Skip to content

ludus::foundation::geometry::SurfaceView

Ludus Wiki · API overview · Browse API

Struct

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

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

#include <ludus/foundation/geometry/surface.hpp>
struct ludus::foundation::geometry::SurfaceView final

Fields

Patches

BorrowedView<const PreparedPatch> ludus::foundation::geometry::SurfaceView::Patches
Patches in source order.

Related types: BorrowedView · PreparedPatch

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

Edges

BorrowedView<const SurfaceEdge> ludus::foundation::geometry::SurfaceView::Edges
Edges ordered by the owner's patch index and side.

Related types: BorrowedView · SurfaceEdge

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

Corners

BorrowedView<const SurfaceCorner> ludus::foundation::geometry::SurfaceView::Corners
Corner records in first-incidence order.

Related types: BorrowedView · SurfaceCorner

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

CornerIncidences

BorrowedView<const SurfaceCornerIncidence> ludus::foundation::geometry::SurfaceView::CornerIncidences
Grouped by corner record.

Related types: BorrowedView · SurfaceCornerIncidence

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

Origin

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

Related types: math::Vector3d

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

Revision

uint64 ludus::foundation::geometry::SurfaceView::Revision = 0
Owner-assigned revision from SurfaceSource.

Related types: uint64

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

PositionFloor

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

Related types: float64

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

EffectivePositionError

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

Related types: float64

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

Tolerance

ToleranceProfile ludus::foundation::geometry::SurfaceView::Tolerance {}
Profile the surface was prepared with, including normal thresholds.

Related types: ToleranceProfile

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