Git Product home page Git Product logo

nn-c's People

Contributors

pilzschaf avatar sakov avatar shuuji3 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

Watchers

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

nn-c's Issues

Windows Compilation Help

Looking for some help compiling for Windows 10. I compiled it in Linux with no problems but am struggling to get a version working in Windows using mingw64 and msys2. The command line utility nnbathy compiled and runs but does not perform the interpolation. The compiled code for the minimal ellipse construction works. When compiling, there were a few warnings about redefining "isnan." Any guidance would be very much appreciated.

The "triangle" module seems not qualified as MIT

Line 31 of triangle.c clearly state that:

"Distribution of this code as part of a commercial system is permissible ONLY 
BY DIRECT ARRANGEMENT WITH THE AUTHOR."

The package as a whole marked as MIT License would give misleading message that 
may cause unintended license violation of using it.

Original issue reported on code.google.com by [email protected] on 11 Apr 2012 at 2:52

Segmentation faults in triangle.c on windows 10 64 bit

I am using nn-c on Windows 10 64bit.

When I have big point clouds I get segmentation faults.

The problem is that a long on linux is 64bit but 32bit on windows.

I solved the problem by replacing all longs with long long in triangle.c.

The problem might occur in other parts of the code that I am not using.

I thought that others might find this useful.

nn-c crashes in 64-bit build.

-What steps will reproduce the problem?
Make a static 64-bit lib in VC++ 2012 using the source code. Write a simple 
main stub, link to the lib and then call nnpi_interpolate_points() in code.

- What is the expected output? What do you see instead?
The call shall succeed, but instead it crashes in transfernodes() at line:
/* Read the vertex coordinates. */
x = vertexloop[0] = pointlist[coordindex++];


- What version of the product are you using? On what operating system?
Using VC++ 2012, 64-bit. 32-bit build works as expected.

- Please provide any additional information below.
Does the lib ever work in 64-bit mode? I think something needs to be change in 
the Triangle code to make it work in 64-bit mode.

Original issue reported on code.google.com by [email protected] on 8 Apr 2015 at 9:36

sometime the weight is negtive

a sample, input data:
A:100 100 1
B:100 200 1
C:200 150 1

interpolation point at [135,185]

if i use a geometry intersect algorithm, the right weights like A:5% B:70% 
C:25%.
if i use this program, the weight of A is negative.

so, i think the Watson's algorithm (Compound Signed Decomposition) just work

at multiple vertex, maybe.

Henry Ho

Original issue reported on code.google.com by [email protected] on 9 Sep 2013 at 11:17

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.