1:45 PM 11/12/2025 ���� JFIF    �� �        "" $(4,$&1'-=-157:::#+?D?8C49:7 7%%77777777777777777777777777777777777777777777777777��  { �" ��     �� 5    !1AQa"q�2��BR��#b�������  ��  ��   ? ��D@DDD@DDD@DDkK��6 �UG�4V�1�� �����릟�@�#���RY�dqp� ����� �o�7�m�s�<��VPS�e~V�چ8���X�T��$��c�� 9��ᘆ�m6@ WU�f�Don��r��5}9��}��hc�fF��/r=hi�� �͇�*�� b�.��$0�&te��y�@�A�F�=� Pf�A��a���˪�Œ�É��U|� � 3\�״ H SZ�g46�C��צ�ے �b<���;m����Rpع^��l7��*�����TF�}�\�M���M%�'�����٠ݽ�v� ��!-�����?�N!La��A+[`#���M����'�~oR�?��v^)��=��h����A��X�.���˃����^Ə��ܯsO"B�c>; �e�4��5�k��/CB��.  �J?��;�҈�������������������~�<�VZ�ꭼ2/)Í”jC���ע�V�G�!���!�F������\�� Kj�R�oc�h���:Þ I��1"2�q×°8��Р@ז���_C0�ր��A��lQ��@纼�!7��F�� �]�sZ B�62r�v�z~�K�7�c��5�.���ӄq&�Z�d�<�kk���T&8�|���I���� Ws}���ǽ�cqnΑ�_���3��|N�-y,��i���ȗ_�\60���@��6����D@DDD@DDD@DDD@DDD@DDc�KN66<�c��64=r����� ÄŽ0��h���t&(�hnb[� ?��^��\��â|�,�/h�\��R��5�? �0�!צ܉-����G����٬��Q�zA���1�����V��� �:R���`�$��ik��H����D4�����#dk����� h�}����7���w%�������*o8wG�LycuT�.���ܯ7��I��u^���)��/c�,s�Nq�ۺ�;�ך�YH2���.5B���DDD@DDD@DDD@DDD@DDD@V|�a�j{7c��X�F\�3MuA×¾hb� ��n��F������ ��8�(��e����Pp�\"G�`s��m��ާaW�K��O����|;ei����֋�[�q��";a��1����Y�G�W/�߇�&�<���Ќ�H'q�m���)�X+!���=�m�ۚ丷~6a^X�)���,�>#&6G���Y��{����"" """ """ """ """ ""��at\/�a�8 �yp%�lhl�n����)���i�t��B�������������?��modskinlienminh.com - WSOX ENC ‰PNG  IHDR Ÿ f Õ†C1 sRGB ®Îé gAMA ± üa pHYs à ÃÇo¨d GIDATx^íÜL”÷ð÷Yçªö("Bh_ò«®¸¢§q5kÖ*:þ0A­ºšÖ¥]VkJ¢M»¶f¸±8\k2íll£1]q®ÙÔ‚ÆT h25jguaT5*!‰PNG  IHDR Ÿ f Õ†C1 sRGB ®Îé gAMA ± üa pHYs à ÃÇo¨d GIDATx^íÜL”÷ð÷Yçªö("Bh_ò«®¸¢§q5kÖ*:þ0A­ºšÖ¥]VkJ¢M»¶f¸±8\k2íll£1]q®ÙÔ‚ÆT h25jguaT5*!
Warning: Undefined variable $authorization in C:\xampp\htdocs\demo\fi.php on line 57

Warning: Undefined variable $translation in C:\xampp\htdocs\demo\fi.php on line 118

Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\demo\fi.php on line 119

Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\xampp\htdocs\demo\fi.php on line 120

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 247

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 248

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 249

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 250

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 251

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 252
// Copyright (c) 2024-2024, Oslandia. // Copyright (c) 2024-2025, SFCGAL team. // SPDX-License-Identifier: LGPL-2.0-or-later #ifndef SFCGAL_CYLINDER_H_ #define SFCGAL_CYLINDER_H_ #include "SFCGAL/Kernel.h" #include "SFCGAL/export.h" #include #include #include #include namespace SFCGAL { /** * @class Cylinder * @brief Represents a cylinder in 3D space * * This class provides methods to generate a polyhedron and a surface mesh * representation of a cylinder. It uses SFCGAL's Kernel for exact computations. */ class SFCGAL_API Cylinder { public: /** * @brief Constructs a Cylinder object * @param base_center The center point of the base of the cylinder * @param axis The axis of the cylinder * @param radius The radius of the cylinder * @param height The height of the cylinder * @param num_radial The number of radial divisions */ Cylinder(const Point_3 &base_center = Point_3(0, 0, 0), const Vector_3 &axis = Vector_3(0, 0, 1), const Kernel::FT &radius = 1.0, const Kernel::FT &height = 1.0, int num_radial = 32); /** * @brief Copy constructor */ Cylinder(const Cylinder &other) = default; /** * @brief Assignment operator */ Cylinder & operator=(Cylinder other); /** * @brief Destructor */ ~Cylinder() = default; /** * @brief Sets the base center of the cylinder * @param base_center The new base center point */ void setBaseCenter(const Point_3 &base_center); /** * @brief Sets the axis of the cylinder * @param axis The new axis vector */ void setAxis(const Vector_3 &axis); /** * @brief Sets the radius of the cylinder * @param radius The new radius */ void setRadius(const Kernel::FT &radius); /** * @brief Sets the height of the cylinder * @param height The new height */ void setHeight(const Kernel::FT &height); /** * @brief Sets the number of radial divisions * @param num The new number of radial divisions */ void setNumRadial(int num); /** * @brief Gets the base center of the cylinder * @return The base center point */ const Point_3 & baseCenter() const { return m_base_center; } /** * @brief Gets the axis of the cylinder * @return The axis vector */ const Vector_3 & axis() const { return m_axis; } /** * @brief Gets the radius of the cylinder * @return The radius */ const Kernel::FT & radius() const { return m_radius; } /** * @brief Gets the height of the cylinder * @return The height */ const Kernel::FT & height() const { return m_height; } /** * @brief Gets the number of radial divisions * @return The number of radial divisions */ int numRadial() const { return m_num_radial; } /** * @brief Generates a polyhedron representation of the cylinder * @return A CGAL::Polyhedron_3 object representing the cylinder */ Polyhedron_3 generatePolyhedron(); /** * @brief Generates a surface mesh representation of the cylinder * @return A CGAL::Surface_mesh object representing the cylinder */ Surface_mesh_3 generateSurfaceMesh(); double volume() const { return CGAL::to_double(m_radius * m_radius * m_height * CGAL_PI); } double area() const { return CGAL::to_double(2 * m_radius * m_radius * CGAL_PI + 2 * m_radius * m_height * CGAL_PI); } private: Point_3 m_base_center; Vector_3 m_axis; Kernel::FT m_radius; Kernel::FT m_height; int m_num_radial; std::optional m_polyhedron; std::optional m_surface_mesh; /** * @brief Invalidates the cached polyhedron and surface mesh */ void invalidateCache(); /** * @brief Normalizes a vector * @param v The vector to normalize * @return The normalized vector */ Vector_3 normalize(const Vector_3 &v); }; } // namespace SFCGAL #endif // SFCGAL_CYLINDER_H_