// Copyright (c) Six Labors. // Licensed under the Six Labors Split License. using System; namespace SixLabors.PolygonClipper { /// /// Classifies sweep vertices by local-extrema role during bound construction. /// /// /// The self-intersection sweep decomposes each contour into monotonic bounds that /// start at local minima and terminate at local maxima. These flags annotate /// each with that role. /// [Flags] internal enum VertexFlags { /// /// No extrema role is assigned. /// None = 0, /// /// Marks a local maximum vertex (bound endpoint). /// LocalMax = 1 << 0, /// /// Marks a local minimum vertex (bound start). /// LocalMin = 1 << 1 } }