Git Product home page Git Product logo

clip2tri's People

Contributors

raptor avatar starseeker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

clip2tri's Issues

install header files?

Hi first thank you for sharing your work. I was wondering if you could add header file installation to the CMake script?

Neighbor issue

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::Triangle
n1 = tri->GetNeighbor(0);
p2t::Trianglen2 = tri->GetNeighbor(1);
p2t::Triangle
n3 = tri->GetNeighbor(2);

image

image

clip2tri class design issue.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.