{"action":"created","comment":{"url":"https://api.github.com/repos/ringmesh/RINGMesh/pulls/comments/171854309","pull_request_review_id":100782724,"id":171854309,"diff_hunk":"@@ -0,0 +1,577 @@\n+/*\r\n+ * Copyright (c) 2012-2018, Association Scientifique pour la Geologie et ses\r\n+ * Applications (ASGA). All rights reserved.\r\n+ *\r\n+ * Redistribution and use in source and binary forms, with or without\r\n+ * modification, are permitted provided that the following conditions are met:\r\n+ *     * Redistributions of source code must retain the above copyright\r\n+ *       notice, this list of conditions and the following disclaimer.\r\n+ *     * Redistributions in binary form must reproduce the above copyright\r\n+ *       notice, this list of conditions and the following disclaimer in the\r\n+ *       documentation and/or other materials provided with the distribution.\r\n+ *     * Neither the name of ASGA nor the\r\n+ *       names of its contributors may be used to endorse or promote products\r\n+ *       derived from this software without specific prior written permission.\r\n+ *\r\n+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\r\n+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\r\n+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r\n+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ASGA BE LIABLE FOR ANY DIRECT,\r\n+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\r\n+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\r\n+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\r\n+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\r\n+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\r\n+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r\n+ *\r\n+ *     http://www.ring-team.org\r\n+ *\r\n+ *     RING Project\r\n+ *     Ecole Nationale Superieure de Geologie - GeoRessources\r\n+ *     2 Rue du Doyen Marcel Roubault - TSA 70605\r\n+ *     54518 VANDOEUVRE-LES-NANCY\r\n+ *     FRANCE\r\n+ */\r\n+\r\n+/*! \\author Francois Bonneau */\r\n+\r\n+#include <numeric>\r\n+#include <ringmesh/basic/algorithm.h>\r\n+#include <ringmesh/basic/geometry.h>\r\n+#include <stack>\r\n+\r\n+#include <ringmesh/mesh/mesh_index.h>\r\n+#include <ringmesh/mesh/point_set_mesh.h>\r\n+#include <ringmesh/mesh/surface_mesh.h>\r\n+\r\n+namespace RINGMesh\r\n+{\r\n+    template < index_t DIMENSION >\r\n+    std::unique_ptr< SurfaceMesh< DIMENSION > >\r\n+        SurfaceMeshBase< DIMENSION >::create_mesh( const MeshType type )\r\n+    {\r\n+        MeshType new_type = type;\r\n+        if( new_type.empty() )\r\n+        {\r\n+            if( !PointSetMeshFactory< DIMENSION >::has_creator(\r\n+                    \"GeogramPointSetMesh\" ) )\r\n+            {\r\n+                throw RINGMeshException( \"SurfaceMesh\",\r\n+                    \"Default mesh data structure not registered\" );\r\n+            }\r\n+            return create_mesh( \"GeogramSurfaceMesh\" );\r\n+        }\r\n+        auto mesh = SurfaceMeshFactory< DIMENSION >::create( new_type );\r\n+        if( !mesh )\r\n+        {\r\n+            Logger::warn( \"SurfaceMesh\",\r\n+                \"Could not create mesh data structure: \", new_type );\r\n+            Logger::warn( \"SurfaceMesh\",\r\n+                \"Falling back to GeogramSurfaceMesh data structure\" );\r\n+\r\n+            return create_mesh();\r\n+        }\r\n+        return mesh;\r\n+    }\r\n+\r\n+    template < index_t DIMENSION >\r\n+    ElementLocalVertex SurfaceMeshBase< DIMENSION >::next_polygon_vertex(\r\n+        const ElementLocalVertex& polygon_local_vertex ) const\r\n+    {\r\n+        const index_t local_vertex_id = polygon_local_vertex.local_vertex_id;\r\n+        ringmesh_assert(\r\n+            local_vertex_id\r\n+            < nb_polygon_vertices( polygon_local_vertex.element_id ) );\r\n+        if( local_vertex_id\r\n+            != nb_polygon_vertices( polygon_local_vertex.element_id ) - 1 )\r\n+        {\r\n+            return { polygon_local_vertex.element_id, local_vertex_id + 1 };\r\n+        }\r\n+        return { polygon_local_vertex.element_id, 0 };\r\n+    }\r\n+\r\n+    template < index_t DIMENSION >\r\n+    ElementLocalVertex SurfaceMeshBase< DIMENSION >::prev_polygon_vertex(\r\n+        const ElementLocalVertex& polygon_local_vertex ) const\r\n+    {\r\n+        ringmesh_assert(\r\n+            polygon_local_vertex.local_vertex_id\r\n+            < nb_polygon_vertices( polygon_local_vertex.element_id ) );\r\n+        if( polygon_local_vertex.local_vertex_id > 0 )\r\n+        {\r\n+            return { polygon_local_vertex.element_id,\r\n+                polygon_local_vertex.local_vertex_id - 1 };\r\n+        }\r\n+        return { polygon_local_vertex.element_id,\r\n+            nb_polygon_vertices( polygon_local_vertex.element_id ) - 1 };\r\n+    }\r\n+\r\n+    template < index_t DIMENSION >\r\n+    index_t SurfaceMeshBase< DIMENSION >::polygon_edge_vertex(\r\n+        const PolygonLocalEdge& polygon_local_edge, index_t vertex_id ) const\r\n+    {\r\n+        ringmesh_assert( vertex_id < 2 );\r\n+        if( vertex_id == 0 )\r\n+        {\r\n+            return polygon_vertex( polygon_local_edge );\r\n+        }\r\n+        return polygon_vertex( { polygon_local_edge.polygon_id,\r\n+            ( polygon_local_edge.local_edge_id + vertex_id )\r\n+                % nb_polygon_vertices( polygon_local_edge.polygon_id ) } );\r\n+    }\r\n+\r\n+    template < index_t DIMENSION >\r\n+    vecn< DIMENSION > SurfaceMeshBase< DIMENSION >::polygon_barycenter(\r\n+        index_t polygon_id ) const\r\n+    {\r\n+        vecn< DIMENSION > result;\r\n+        ringmesh_assert( nb_polygon_vertices( polygon_id ) >= 1 );\r\n+        for( auto v : range( nb_polygon_vertices( polygon_id ) ) )\r\n+        {\r\n+            result += this->vertex( polygon_vertex( { polygon_id, v } ) );\r\n+        }\r\n+        return ( 1.0 / nb_polygon_vertices( polygon_id ) ) * result;\r\n+    }\r\n+\r\n+    template < index_t DIMENSION >\r\n+    bool SurfaceMeshBase< DIMENSION >::is_polygon_on_border(\r\n+        index_t polygon_index ) const\r\n+    {\r\n+        for( auto v : range( nb_polygon_vertices( polygon_index ) ) )\r\n+        {\r\n+            if( is_edge_on_border( { polygon_index, v } ) )\r\n+            {\r\n+                return true;\r\n+            }\r\n+        }\r\n+        return false;\r\n+    }\r\n+\r\n+    template < index_t DIMENSION >\r\n+    double SurfaceMeshBase< DIMENSION >::polygon_edge_length(\r\n+        const PolygonLocalEdge& polygon_local_edge ) const\r\n+    {\r\n+        const auto& e0 =\r\n+            this->vertex( polygon_edge_vertex( polygon_local_edge, 0 ) );\r\n+        const auto& e1 =\r\n+            this->vertex( polygon_edge_vertex( polygon_local_edge, 1 ) );\r\n+        return ( e1 - e0 ).length();\r\n+    }\r\n+\r\n+    template < index_t DIMENSION >\r\n+    vecn< DIMENSION > SurfaceMeshBase< DIMENSION >::polygon_edge_barycenter(\r\n+        const PolygonLocalEdge& polygon_local_edge ) const\r\n+    {\r\n+        const auto& e0 =\r\n+            this->vertex( polygon_edge_vertex( polygon_local_edge, 0 ) );\r\n+        const auto& e1 =\r\n+            this->vertex( polygon_edge_vertex( polygon_local_edge, 1 ) );\r\n+        return ( e1 + e0 ) / 2.;\r\n+    }\r\n+\r\n+    template < index_t DIMENSION >\r\n+    PolygonLocalEdge SurfaceMeshBase< DIMENSION >::next_on_border(\r\n+        const PolygonLocalEdge& polygon_local_edge ) const\r\n+    {\r\n+        ringmesh_assert(\r\n+            polygon_local_edge.local_edge_id\r\n+            < nb_polygon_vertices( polygon_local_edge.polygon_id ) );\r\n+        ringmesh_assert( is_edge_on_border( polygon_local_edge ) );\r\n+\r\n+        // Global indices in the surfaces\r\n+        auto next_v_id =\r\n+            polygon_vertex( next_polygon_vertex( polygon_local_edge ) );\r\n+\r\n+        // Get the polygons around the shared vertex (next_v_id) that are on the\r\n+        // boundary\r\n+        // There must be one (the current one) or two (the next one on boundary)\r\n+        auto polygons_around_next_v_id = polygons_around_vertex(\r\n+            next_v_id, true, polygon_local_edge.polygon_id );\r\n+        auto nb_around =\r\n+            static_cast< index_t >( polygons_around_next_v_id.size() );\r\n+        ringmesh_assert( nb_around == 1 || nb_around == 2 );\r\n+\r\n+        PolygonLocalEdge next_polygon_local_edge{ NO_ID, NO_ID };\r\n+        auto& next_p = next_polygon_local_edge.polygon_id;\r\n+        next_p = polygons_around_next_v_id[0];\r\n+        auto& next_e = next_polygon_local_edge.local_edge_id;\r\n+\r\n+        if( nb_around == 2 )\r\n+        {\r\n+            if( next_p == polygon_local_edge.polygon_id )\r\n+            {\r\n+                next_p = polygons_around_next_v_id[1];\r\n+            }\r\n+            ringmesh_assert( next_p != NO_ID );\r\n+            ringmesh_assert( is_polygon_on_border( next_p ) );\r\n+\r\n+            // Local index of next vertex in the next polygon\r\n+            next_e = vertex_index_in_polygon( next_p, next_v_id );\r\n+            ringmesh_assert( is_edge_on_border( next_polygon_local_edge ) );\r\n+        }\r\n+        else if( nb_around == 1 )\r\n+        {\r\n+            // next_v_id must be in two border edges of polygon p\r\n+            next_e = vertex_index_in_polygon( next_p, next_v_id );\r\n+            ringmesh_assert( is_edge_on_border( next_polygon_local_edge ) );\r\n+        }\r\n+\r\n+        return next_polygon_local_edge;\r\n+    }\r\n+\r\n+    template < index_t DIMENSION >\r\n+    PolygonLocalEdge SurfaceMeshBase< DIMENSION >::prev_on_border(\r\n+        const PolygonLocalEdge& polygon_local_edge ) const\r\n+    {\r\n+        ringmesh_assert(\r\n+            polygon_local_edge.local_edge_id\r\n+            < nb_polygon_vertices( polygon_local_edge.polygon_id ) );\r\n+        ringmesh_assert( is_edge_on_border( polygon_local_edge ) );\r\n+\r\n+        // Global indices in the surfaces\r\n+        auto v_id = polygon_vertex( { polygon_local_edge } );\r\n+\r\n+        // Get the polygons around the shared vertex (v_id) that are on the\r\n+        // boundary\r\n+        // There must be one (the current one) or two (the next one on boundary)\r\n+        auto polygons_around_v_id =\r\n+            polygons_around_vertex( v_id, true, polygon_local_edge.polygon_id );\r\n+        auto nb_around = static_cast< index_t >( polygons_around_v_id.size() );\r\n+        ringmesh_assert( nb_around == 1 || nb_around == 2 );\r\n+\r\n+        PolygonLocalEdge prev_polygon_local_edge{ NO_ID, NO_ID };\r\n+        auto& prev_p = prev_polygon_local_edge.polygon_id;\r\n+        prev_p = polygons_around_v_id[0];\r\n+        auto& prev_e = prev_polygon_local_edge.local_edge_id;\r\n+\r\n+        if( nb_around == 2 )\r\n+        {\r\n+            if( prev_p == polygon_local_edge.polygon_id )\r\n+            {\r\n+                prev_p = polygons_around_v_id[1];\r\n+            }\r\n+            ringmesh_assert( prev_p != NO_ID );\r\n+            ringmesh_assert( is_polygon_on_border( prev_p ) );\r\n+\r\n+            // Local index of given vertex in the prev polygon\r\n+            auto v_in_prev_f = vertex_index_in_polygon( prev_p, v_id );\r\n+            // Local index of previous vertex in the prev polygon\r\n+            prev_e =\r\n+                prev_polygon_vertex( { prev_p, v_in_prev_f } ).local_vertex_id;\r\n+            ringmesh_assert( is_edge_on_border( prev_polygon_local_edge ) );\r\n+        }\r\n+        else if( nb_around == 1 )\r\n+        {\r\n+            // v_id must be in two border edges of polygon p\r\n+            auto v_in_next_polygon = vertex_index_in_polygon( prev_p, v_id );\r\n+            prev_e = prev_polygon_vertex( { prev_p, v_in_next_polygon } )\r\n+                         .local_vertex_id;\r\n+            ringmesh_assert( is_edge_on_border( prev_polygon_local_edge ) );\r\n+        }\r\n+\r\n+        return prev_polygon_local_edge;\r\n+    }\r\n+\r\n+    template < index_t DIMENSION >\r\n+    index_t SurfaceMeshBase< DIMENSION >::polygon_from_vertex_ids(\r\n+        index_t in0, index_t in1 ) const\r\n+    {\r\n+        ringmesh_assert(\r\n+            in0 < this->nb_vertices() && in1 < this->nb_vertices() );\r\n+\r\n+        // Another possible, probably faster, algorithm is to check if the 2\r\n+        // indices\r\n+        // are neighbors in polygons_ and check that they are in the same\r\n+        // polygon\r\n+\r\n+        // Check if the edge is in one of the polygon\r\n+        for( auto poly : range( nb_polygons() ) )\r\n+        {\r\n+            bool found = false;\r\n+            auto prev =\r\n+                polygon_vertex( { poly, nb_polygon_vertices( poly ) - 1 } );\r\n+            for( auto v : range( nb_polygon_vertices( poly ) ) )\r\n+            {\r\n+                auto p = polygon_vertex( { poly, v } );\r\n+                if( ( prev == in0 && p == in1 ) || ( prev == in1 && p == in0 ) )\r\n+                {\r\n+                    found = true;\r\n+                    break;\r\n+                }\r\n+                prev = p;\r\n+            }\r\n+            if( found )\r\n+            {\r\n+                return poly;\r\n+            }\r\n+        }\r\n+        return NO_ID;\r\n+    }\r\n+\r\n+    template < index_t DIMENSION >\r\n+    index_t SurfaceMeshBase< DIMENSION >::vertex_index_in_polygon(\r\n+        index_t polygon_index, index_t vertex_id ) const\r\n+    {\r\n+        ringmesh_assert( polygon_index < nb_polygons() );\r\n+        for( auto v : range( nb_polygon_vertices( polygon_index ) ) )\r\n+        {\r\n+            if( polygon_vertex( { polygon_index, v } ) == vertex_id )\r\n+            {\r\n+                return v;\r\n+            }\r\n+        }\r\n+        return NO_ID;\r\n+    }\r\n+\r\n+    template < index_t DIMENSION >\r\n+    index_t SurfaceMeshBase< DIMENSION >::closest_vertex_in_polygon(\r\n+        index_t polygon_index, const vecn< DIMENSION >& query_point ) const\r\n+    {\r\n+        index_t result{ 0 };\r\n+        double dist{ DBL_MAX };\r\n+        for( auto v_id : range( nb_polygon_vertices( polygon_index ) ) )\r\n+        {\r\n+            double distance =\r\n+                length2( query_point\r\n+                         - this->vertex( polygon_vertex(\r\n+                               ElementLocalVertex( polygon_index, v_id ) ) ) );\r\n+            if( dist > distance )\r\n+            {\r\n+                dist = distance;\r\n+                result = v_id;\r\n+            }\r\n+        }\r\n+        return result;\r\n+    }\r\n+\r\n+    template < index_t DIMENSION >\r\n+    std::vector< index_t > SurfaceMeshBase< DIMENSION >::polygons_around_vertex(\r","path":"src/ringmesh/mesh/surface_mesh.cpp","position":348,"original_position":348,"commit_id":"e31c1764df981bc52445f8412b5b391e6b582c8e","original_commit_id":"e31c1764df981bc52445f8412b5b391e6b582c8e","user":{"login":"BotellaA","id":3213882,"avatar_url":"https://avatars1.githubusercontent.com/u/3213882?v=4","gravatar_id":"","url":"https://api.github.com/users/BotellaA","html_url":"https://github.com/BotellaA","followers_url":"https://api.github.com/users/BotellaA/followers","following_url":"https://api.github.com/users/BotellaA/following{/other_user}","gists_url":"https://api.github.com/users/BotellaA/gists{/gist_id}","starred_url":"https://api.github.com/users/BotellaA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BotellaA/subscriptions","organizations_url":"https://api.github.com/users/BotellaA/orgs","repos_url":"https://api.github.com/users/BotellaA/repos","events_url":"https://api.github.com/users/BotellaA/events{/privacy}","received_events_url":"https://api.github.com/users/BotellaA/received_events","type":"User","site_admin":false},"body":"![CRITICAL](https://sonarsource.github.io/sonar-github/severity-critical.png 'Severity: CRITICAL') Refactor this function to reduce its Cognitive Complexity from 34 to the 25 allowed. [![rule](https://sonarsource.github.io/sonar-github/rule.png)](https://sonarcloud.io/coding_rules#rule_key=cpp%3AS3776)\n","created_at":"2018-03-02T14:04:13Z","updated_at":"2018-03-02T14:04:13Z","html_url":"https://github.com/ringmesh/RINGMesh/pull/143#discussion_r171854309","pull_request_url":"https://api.github.com/repos/ringmesh/RINGMesh/pulls/143","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/ringmesh/RINGMesh/pulls/comments/171854309"},"html":{"href":"https://github.com/ringmesh/RINGMesh/pull/143#discussion_r171854309"},"pull_request":{"href":"https://api.github.com/repos/ringmesh/RINGMesh/pulls/143"}}},"pull_request":{"url":"https://api.github.com/repos/ringmesh/RINGMesh/pulls/143","id":164352755,"html_url":"https://github.com/ringmesh/RINGMesh/pull/143","diff_url":"https://github.com/ringmesh/RINGMesh/pull/143.diff","patch_url":"https://github.com/ringmesh/RINGMesh/pull/143.patch","issue_url":"https://api.github.com/repos/ringmesh/RINGMesh/issues/143","number":143,"state":"open","locked":false,"title":"Split mesh classes","user":{"login":"mzakari31","id":18530885,"avatar_url":"https://avatars1.githubusercontent.com/u/18530885?v=4","gravatar_id":"","url":"https://api.github.com/users/mzakari31","html_url":"https://github.com/mzakari31","followers_url":"https://api.github.com/users/mzakari31/followers","following_url":"https://api.github.com/users/mzakari31/following{/other_user}","gists_url":"https://api.github.com/users/mzakari31/gists{/gist_id}","starred_url":"https://api.github.com/users/mzakari31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzakari31/subscriptions","organizations_url":"https://api.github.com/users/mzakari31/orgs","repos_url":"https://api.github.com/users/mzakari31/repos","events_url":"https://api.github.com/users/mzakari31/events{/privacy}","received_events_url":"https://api.github.com/users/mzakari31/received_events","type":"User","site_admin":false},"body":"2 New Files for the class MeshBase: mesh_base.h; mesh_base.cpp\r\n2 Filenames added in ringmesh/mesh/CMakeLists.txt","created_at":"2018-01-22T16:26:55Z","updated_at":"2018-03-02T14:04:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9a331541cff40df2883ef60d055dd10ae4c50fb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ringmesh/RINGMesh/pulls/143/commits","review_comments_url":"https://api.github.com/repos/ringmesh/RINGMesh/pulls/143/comments","review_comment_url":"https://api.github.com/repos/ringmesh/RINGMesh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ringmesh/RINGMesh/issues/143/comments","statuses_url":"https://api.github.com/repos/ringmesh/RINGMesh/statuses/e31c1764df981bc52445f8412b5b391e6b582c8e","head":{"label":"ringmesh:split_mesh_classes","ref":"split_mesh_classes","sha":"e31c1764df981bc52445f8412b5b391e6b582c8e","user":{"login":"ringmesh","id":33122992,"avatar_url":"https://avatars3.githubusercontent.com/u/33122992?v=4","gravatar_id":"","url":"https://api.github.com/users/ringmesh","html_url":"https://github.com/ringmesh","followers_url":"https://api.github.com/users/ringmesh/followers","following_url":"https://api.github.com/users/ringmesh/following{/other_user}","gists_url":"https://api.github.com/users/ringmesh/gists{/gist_id}","starred_url":"https://api.github.com/users/ringmesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ringmesh/subscriptions","organizations_url":"https://api.github.com/users/ringmesh/orgs","repos_url":"https://api.github.com/users/ringmesh/repos","events_url":"https://api.github.com/users/ringmesh/events{/privacy}","received_events_url":"https://api.github.com/users/ringmesh/received_events","type":"Organization","site_admin":false},"repo":{"id":108415296,"name":"RINGMesh","full_name":"ringmesh/RINGMesh","owner":{"login":"ringmesh","id":33122992,"avatar_url":"https://avatars3.githubusercontent.com/u/33122992?v=4","gravatar_id":"","url":"https://api.github.com/users/ringmesh","html_url":"https://github.com/ringmesh","followers_url":"https://api.github.com/users/ringmesh/followers","following_url":"https://api.github.com/users/ringmesh/following{/other_user}","gists_url":"https://api.github.com/users/ringmesh/gists{/gist_id}","starred_url":"https://api.github.com/users/ringmesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ringmesh/subscriptions","organizations_url":"https://api.github.com/users/ringmesh/orgs","repos_url":"https://api.github.com/users/ringmesh/repos","events_url":"https://api.github.com/users/ringmesh/events{/privacy}","received_events_url":"https://api.github.com/users/ringmesh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ringmesh/RINGMesh","description":"RINGMesh is a C++ open-source platform for manipulating meshes of geological models.","fork":false,"url":"https://api.github.com/repos/ringmesh/RINGMesh","forks_url":"https://api.github.com/repos/ringmesh/RINGMesh/forks","keys_url":"https://api.github.com/repos/ringmesh/RINGMesh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ringmesh/RINGMesh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ringmesh/RINGMesh/teams","hooks_url":"https://api.github.com/repos/ringmesh/RINGMesh/hooks","issue_events_url":"https://api.github.com/repos/ringmesh/RINGMesh/issues/events{/number}","events_url":"https://api.github.com/repos/ringmesh/RINGMesh/events","assignees_url":"https://api.github.com/repos/ringmesh/RINGMesh/assignees{/user}","branches_url":"https://api.github.com/repos/ringmesh/RINGMesh/branches{/branch}","tags_url":"https://api.github.com/repos/ringmesh/RINGMesh/tags","blobs_url":"https://api.github.com/repos/ringmesh/RINGMesh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ringmesh/RINGMesh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ringmesh/RINGMesh/git/refs{/sha}","trees_url":"https://api.github.com/repos/ringmesh/RINGMesh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ringmesh/RINGMesh/statuses/{sha}","languages_url":"https://api.github.com/repos/ringmesh/RINGMesh/languages","stargazers_url":"https://api.github.com/repos/ringmesh/RINGMesh/stargazers","contributors_url":"https://api.github.com/repos/ringmesh/RINGMesh/contributors","subscribers_url":"https://api.github.com/repos/ringmesh/RINGMesh/subscribers","subscription_url":"https://api.github.com/repos/ringmesh/RINGMesh/subscription","commits_url":"https://api.github.com/repos/ringmesh/RINGMesh/commits{/sha}","git_commits_url":"https://api.github.com/repos/ringmesh/RINGMesh/git/commits{/sha}","comments_url":"https://api.github.com/repos/ringmesh/RINGMesh/comments{/number}","issue_comment_url":"https://api.github.com/repos/ringmesh/RINGMesh/issues/comments{/number}","contents_url":"https://api.github.com/repos/ringmesh/RINGMesh/contents/{+path}","compare_url":"https://api.github.com/repos/ringmesh/RINGMesh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ringmesh/RINGMesh/merges","archive_url":"https://api.github.com/repos/ringmesh/RINGMesh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ringmesh/RINGMesh/downloads","issues_url":"https://api.github.com/repos/ringmesh/RINGMesh/issues{/number}","pulls_url":"https://api.github.com/repos/ringmesh/RINGMesh/pulls{/number}","milestones_url":"https://api.github.com/repos/ringmesh/RINGMesh/milestones{/number}","notifications_url":"https://api.github.com/repos/ringmesh/RINGMesh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ringmesh/RINGMesh/labels{/name}","releases_url":"https://api.github.com/repos/ringmesh/RINGMesh/releases{/id}","deployments_url":"https://api.github.com/repos/ringmesh/RINGMesh/deployments","created_at":"2017-10-26T13:29:35Z","updated_at":"2018-02-28T14:16:04Z","pushed_at":"2018-03-02T13:40:22Z","git_url":"git://github.com/ringmesh/RINGMesh.git","ssh_url":"git@github.com:ringmesh/RINGMesh.git","clone_url":"https://github.com/ringmesh/RINGMesh.git","svn_url":"https://github.com/ringmesh/RINGMesh","homepage":"http://ringmesh.org","size":173027,"stargazers_count":19,"watchers_count":19,"language":"C++","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":0,"open_issues":7,"watchers":19,"default_branch":"master"}},"base":{"label":"ringmesh:master","ref":"master","sha":"b1519663b80e0e7544a4fb6554ab4fb4844a3928","user":{"login":"ringmesh","id":33122992,"avatar_url":"https://avatars3.githubusercontent.com/u/33122992?v=4","gravatar_id":"","url":"https://api.github.com/users/ringmesh","html_url":"https://github.com/ringmesh","followers_url":"https://api.github.com/users/ringmesh/followers","following_url":"https://api.github.com/users/ringmesh/following{/other_user}","gists_url":"https://api.github.com/users/ringmesh/gists{/gist_id}","starred_url":"https://api.github.com/users/ringmesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ringmesh/subscriptions","organizations_url":"https://api.github.com/users/ringmesh/orgs","repos_url":"https://api.github.com/users/ringmesh/repos","events_url":"https://api.github.com/users/ringmesh/events{/privacy}","received_events_url":"https://api.github.com/users/ringmesh/received_events","type":"Organization","site_admin":false},"repo":{"id":108415296,"name":"RINGMesh","full_name":"ringmesh/RINGMesh","owner":{"login":"ringmesh","id":33122992,"avatar_url":"https://avatars3.githubusercontent.com/u/33122992?v=4","gravatar_id":"","url":"https://api.github.com/users/ringmesh","html_url":"https://github.com/ringmesh","followers_url":"https://api.github.com/users/ringmesh/followers","following_url":"https://api.github.com/users/ringmesh/following{/other_user}","gists_url":"https://api.github.com/users/ringmesh/gists{/gist_id}","starred_url":"https://api.github.com/users/ringmesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ringmesh/subscriptions","organizations_url":"https://api.github.com/users/ringmesh/orgs","repos_url":"https://api.github.com/users/ringmesh/repos","events_url":"https://api.github.com/users/ringmesh/events{/privacy}","received_events_url":"https://api.github.com/users/ringmesh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ringmesh/RINGMesh","description":"RINGMesh is a C++ open-source platform for manipulating meshes of geological models.","fork":false,"url":"https://api.github.com/repos/ringmesh/RINGMesh","forks_url":"https://api.github.com/repos/ringmesh/RINGMesh/forks","keys_url":"https://api.github.com/repos/ringmesh/RINGMesh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ringmesh/RINGMesh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ringmesh/RINGMesh/teams","hooks_url":"https://api.github.com/repos/ringmesh/RINGMesh/hooks","issue_events_url":"https://api.github.com/repos/ringmesh/RINGMesh/issues/events{/number}","events_url":"https://api.github.com/repos/ringmesh/RINGMesh/events","assignees_url":"https://api.github.com/repos/ringmesh/RINGMesh/assignees{/user}","branches_url":"https://api.github.com/repos/ringmesh/RINGMesh/branches{/branch}","tags_url":"https://api.github.com/repos/ringmesh/RINGMesh/tags","blobs_url":"https://api.github.com/repos/ringmesh/RINGMesh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ringmesh/RINGMesh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ringmesh/RINGMesh/git/refs{/sha}","trees_url":"https://api.github.com/repos/ringmesh/RINGMesh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ringmesh/RINGMesh/statuses/{sha}","languages_url":"https://api.github.com/repos/ringmesh/RINGMesh/languages","stargazers_url":"https://api.github.com/repos/ringmesh/RINGMesh/stargazers","contributors_url":"https://api.github.com/repos/ringmesh/RINGMesh/contributors","subscribers_url":"https://api.github.com/repos/ringmesh/RINGMesh/subscribers","subscription_url":"https://api.github.com/repos/ringmesh/RINGMesh/subscription","commits_url":"https://api.github.com/repos/ringmesh/RINGMesh/commits{/sha}","git_commits_url":"https://api.github.com/repos/ringmesh/RINGMesh/git/commits{/sha}","comments_url":"https://api.github.com/repos/ringmesh/RINGMesh/comments{/number}","issue_comment_url":"https://api.github.com/repos/ringmesh/RINGMesh/issues/comments{/number}","contents_url":"https://api.github.com/repos/ringmesh/RINGMesh/contents/{+path}","compare_url":"https://api.github.com/repos/ringmesh/RINGMesh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ringmesh/RINGMesh/merges","archive_url":"https://api.github.com/repos/ringmesh/RINGMesh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ringmesh/RINGMesh/downloads","issues_url":"https://api.github.com/repos/ringmesh/RINGMesh/issues{/number}","pulls_url":"https://api.github.com/repos/ringmesh/RINGMesh/pulls{/number}","milestones_url":"https://api.github.com/repos/ringmesh/RINGMesh/milestones{/number}","notifications_url":"https://api.github.com/repos/ringmesh/RINGMesh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ringmesh/RINGMesh/labels{/name}","releases_url":"https://api.github.com/repos/ringmesh/RINGMesh/releases{/id}","deployments_url":"https://api.github.com/repos/ringmesh/RINGMesh/deployments","created_at":"2017-10-26T13:29:35Z","updated_at":"2018-02-28T14:16:04Z","pushed_at":"2018-03-02T13:40:22Z","git_url":"git://github.com/ringmesh/RINGMesh.git","ssh_url":"git@github.com:ringmesh/RINGMesh.git","clone_url":"https://github.com/ringmesh/RINGMesh.git","svn_url":"https://github.com/ringmesh/RINGMesh","homepage":"http://ringmesh.org","size":173027,"stargazers_count":19,"watchers_count":19,"language":"C++","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":0,"open_issues":7,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ringmesh/RINGMesh/pulls/143"},"html":{"href":"https://github.com/ringmesh/RINGMesh/pull/143"},"issue":{"href":"https://api.github.com/repos/ringmesh/RINGMesh/issues/143"},"comments":{"href":"https://api.github.com/repos/ringmesh/RINGMesh/issues/143/comments"},"review_comments":{"href":"https://api.github.com/repos/ringmesh/RINGMesh/pulls/143/comments"},"review_comment":{"href":"https://api.github.com/repos/ringmesh/RINGMesh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ringmesh/RINGMesh/pulls/143/commits"},"statuses":{"href":"https://api.github.com/repos/ringmesh/RINGMesh/statuses/e31c1764df981bc52445f8412b5b391e6b582c8e"}},"author_association":"NONE"}}
{"actor":{"display_login":"BotellaA"}}