raptor / clip2tri Goto Github PK
View Code? Open in Web Editor NEWUsing clipper and poly2tri together for robust triangulation
License: MIT License
Using clipper and poly2tri together for robust triangulation
License: MIT License
Hi first thank you for sharing your work. I was wondering if you could add header file installation to the CMake script?
Hi,
When I triangulate the attached geometry it works well but when i want to take 2. index triangle's neighbors it gives 2 neighbors (cyan and blue ons) instead of 1 (just cyan). I attached the neighbors's image also.
I take neighbors with the belowing code and if it is not null pointer I draw
p2t::Triangle tri = outputTriangles[2];
p2t::Trianglen1 = tri->GetNeighbor(0);
p2t::Trianglen2 = tri->GetNeighbor(1);
p2t::Trianglen3 = tri->GetNeighbor(2);
Hi,
It seems that c2t::clip2tri::triangulate could be marked as static, because it does not use any class member variables.
In fact, there are no member variables in clip2tri
at all, so maybe c2t::clip2tri::triangulate()
should be simply become a free function c2t::triangulate()
, and all private clip2tri
member functions used in implementation hidden inside .cpp
file.
It seems that clip2tri
class existence produces some misunderstanding, as I've seen new'ing clip2tri
object in Qt source code qdeclarativepolygonmapitem.cpp line 288. There is no object needed as clip2tri
has no member variables.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.