[GL/MGTL] Cleanup Pointer to vector of Point's.
Pointer to vector of Point's wasn't cleaned up properly. In rotatePolygonToXY a pointer to the vector of polygon points was created. The rotated polygon is on this vector. When the polygon is returned from the function it isn't possible to cleanup the vector properly. So the creation of the polygon is move to the function markNodesOutSideOfPolygon.
Showing
- GeoLib/AnalyticalGeometry.cpp 5 additions, 11 deletionsGeoLib/AnalyticalGeometry.cpp
- GeoLib/AnalyticalGeometry.h 3 additions, 3 deletionsGeoLib/AnalyticalGeometry.h
- MeshGeoToolsLib/MeshEditing/MarkNodesOutsideOfPolygon.h 19 additions, 9 deletionsMeshGeoToolsLib/MeshEditing/MarkNodesOutsideOfPolygon.h
Please register or sign in to comment