Subversion Repositories gelsvn

Rev

Rev 630 | Rev 632 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 630 Rev 631
Line 277... Line 277...
277
                    tmp_area += a;
277
                    tmp_area += a;
278
                }
278
                }
279
                tmp_curvature_tensors[*v] /= tmp_area;
279
                tmp_curvature_tensors[*v] /= tmp_area;
280
            }
280
            }
281
        }
281
        }
282
        curvature_tensors = tmp_curvature_tensors;
282
        curvature_tensors = move(tmp_curvature_tensors);
283
    }
283
    }
284
 
284
 
285
    void gaussian_curvature_angle_defects(const Manifold& m, VertexAttributeVector<double>& curvature, int smooth_steps)
285
    void gaussian_curvature_angle_defects(const Manifold& m, VertexAttributeVector<double>& curvature, int smooth_steps)
286
    {
286
    {
287
        for(VertexIDIterator v = m.vertices_begin(); v != m.vertices_end(); ++v)
287
        for(VertexIDIterator v = m.vertices_begin(); v != m.vertices_end(); ++v)