//////////////////////////////////////////////////////////////////////////////// /** \file \brief \ru Нахождение пересечений двух областей. \en Calculation of intersection of two regions. \~ */ //////////////////////////////////////////////////////////////////////////////// #ifndef __CONTOUR_COMBINE_H #define __CONTOUR_COMBINE_H #include #include class MATH_CLASS MbCurve; //------------------------------------------------------------------------------ /** \brief \ru Результат пересечения кривых. \en The curves intersection result. \~ \details \ru Результат пересечения двух областей кривых. \en The result of two curves' regions intersection. \~ \ingroup Algorithms_2D */ // --- enum MbeIntLoopsResult { ilr_error = -1, ///< \ru Ошибка! Кривые не замкнуты или имеют самопересечения. \en Error! Curves are not closed or have self-intersections. ilr_notIntersect = 0, ///< \ru Области под кривыми не пересекаются (массив кривых пересечения пуст). \en Regions of curves don't have intersections (intersection curve array is empty). ilr_firstCurve = 1, ///< \ru Пересечением областей является первая кривая (массив кривых пересечения пуст). \en The intersection of regions is the first curve (intersection curve array is empty). ilr_secondCurve = 2, ///< \ru Пересечением областей является вторая кривая (массив кривых пересечения пуст). \en The intersection of regions is the second curve (intersection curve array is empty). ilr_success = 3, ///< \ru Произвольное пересечение (одна и более кривых в массиве кривых пересечения). \en An arbitrary intersection (one or more curves in intersection curve array). }; #endif // __CONTOUR_COMBINE_H