Skip to content

ludus::foundation::geometry::SurfaceAdjacencySource

Ludus Wiki · API overview · Browse API

Struct

Explicit join of two whole patch sides.
The second side's along-edge parameter equals the first side's s, or 1 - s when IsReversed. Both control curves must be identical after narrowing and that mapping. A side joined to another side of the same patch is allowed (for example a closed cylinder); a side joined to itself is not.

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

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

Fields

FirstPatch

usize ludus::foundation::geometry::SurfaceAdjacencySource::FirstPatch = 0

Related types: usize

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

FirstSide

PatchSide ludus::foundation::geometry::SurfaceAdjacencySource::FirstSide = PatchSide::U0
Side of the first patch.

Related types: PatchSide

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

SecondPatch

usize ludus::foundation::geometry::SurfaceAdjacencySource::SecondPatch = 0

Related types: usize

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

SecondSide

PatchSide ludus::foundation::geometry::SurfaceAdjacencySource::SecondSide = PatchSide::U0
Side of the second patch.

Related types: PatchSide

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

IsReversed

bool ludus::foundation::geometry::SurfaceAdjacencySource::IsReversed = false
The second side runs opposite to the first.

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