Files
Extern/C3d/Include/contour_combine.h
T
SaraP 8c5bd7cfae Extern :
- C3d aggiornamento delle librerie ( 117952).
2023-07-07 15:05:03 +02:00

36 lines
2.1 KiB
C++

////////////////////////////////////////////////////////////////////////////////
/**
\file
\brief \ru Нахождение пересечений двух областей.
\en Calculation of intersection of two regions. \~
*/
////////////////////////////////////////////////////////////////////////////////
#ifndef __CONTOUR_COMBINE_H
#define __CONTOUR_COMBINE_H
#include <templ_p_array.h>
#include <cur_contour.h>
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