Skip to content

ludus::foundation::geometry::SurfaceEdgeId

Ludus Wiki · API overview · Browse API

Struct

Stable identity of an edge: its incidence with the smallest (patch ID, side).
It does not depend on array order, so it survives reordering of the source patches as long as author IDs and joins are unchanged.

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

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

Fields

PatchId

uint64 ludus::foundation::geometry::SurfaceEdgeId::PatchId = 0
Author ID of the owning patch.

Related types: uint64

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

Side

PatchSide ludus::foundation::geometry::SurfaceEdgeId::Side = PatchSide::U0
Side of the owning patch.

Related types: PatchSide

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