예제 #1
0
        /// <summary>
        /// Performs an Intersection on two FuzzySets
        /// </summary>
        /// <param name="fs1">Fuzzy Set 1</param>
        /// <param name="fs2">Fuzzy Set 2</param>
        /// <param name="colour">The colour of the resulting set</param>
        /// <returns>The resulting Set</returns>
        public static FuzzySet IntersectionFS(FuzzySet fs1, FuzzySet fs2, Brush colour)
        {
            FuzzySet fuzz = new FuzzySet();

            fuzz.IntersectionFS(fuzz, fs1, fs2);

            fuzz.LineColour = colour;

            return fuzz;
        }