edges Parameter not in CDT::Triangulation
Sum80 opened this issue · 3 comments
Sum80 commented
When using the code.
#include "CDT.h"
CDT::Triangulation cdt;
cdt.insertVertices(/* points /);
cdt.eraseSuperTriangle();
/ access triangles / = cdt.triangles;
/ access vertices / = cdt.vertices;
/ access boundary edges */ = cdt.edges;
edges is not a member of CDT::Triangulation.
artem-ogre commented
Hi, @Sum80,
Thank you for creating the issue. There was a change: edges are calculated on request. Please use extractEdgesFromTriangles
to calculate edges from triangles. I will update the documentation to reflect this.
artem-ogre commented
I have updated the README.md:
- only fixed edges are still available via
fixedEdges
- all edges can be calculated on demand
/* access boundary (fixed) edges */ = cdt.fixedEdges;
/* calculate all edges (on demand) */ = CDT::extractEdgesFromTriangles(cdt.triangles);
artem-ogre commented
Feel free to re-open if I missed something and thanks again.