Skip to content
Snippets Groups Projects
Commit e868a451 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

ENH: add caching for polygon surface computation

parent e0ef022e
No related branches found
No related tags found
No related merge requests found
......@@ -492,8 +492,6 @@ void
Polygon<TValue>
::ComputeSurface() const
{
double m_Surface;
m_Surface = 0.0;
VertexListConstIteratorType it = this->GetVertexList()->Begin();
if (this->GetVertexList()->Size()>2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment