Editor/Wall/ArchWallCornice.cs
namespace Sunless.Architecture;
public static partial class ArchWallGen {
// Whether a coping still belongs to the wall itself: a crowned head is finished by the entablature's own top
// course, and a second cap at the same height is two solids sharing a plane. The entablature itself is NOT the
// wall's - ArchStoreyCornice rings the whole storey with it, so no corner is two pieces meeting.
public static bool Crowned( IArchWallTreatment wall, ArchKit kit ) => Crowning( wall, kit ) is not null;
static ArchCorniceStyle Crowning( IArchWallTreatment wall, ArchKit kit ) {
return kit.FindCornice( wall.Cornice ) is { Stands: true } crown ? crown : null;
}
}