// ----------------------------------------------------------------------- // // Triangle.NET Copyright (c) 2012-2022 Christian Woltering // // ----------------------------------------------------------------------- namespace TriangleNet { using System; /// /// Configure advanced aspects of the library. /// public class Configuration { public Configuration() : this(() => RobustPredicates.Default, () => new TrianglePool()) { } public Configuration(Func predicates) : this(predicates, () => new TrianglePool()) { } public Configuration(Func predicates, Func trianglePool) { Predicates = predicates; TrianglePool = trianglePool; } /// /// Gets or sets the factory method for the implementation. /// public Func Predicates { get; set; } /// /// Gets or sets the factory method for the . /// public Func TrianglePool { get; set; } } }