Skip to content

An infinite loop in the function jcv_boxshape_fillgaps(line 1236 in jc_voronoi.h) #83

@YoungCapta1n

Description

@YoungCapta1n

Love your library and it is very efficient.
I run the jcv_diagram_generate using Double floating point precision from the following points (On ubuntu 22.04, Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz with 16Gb of RAM)
13.5000000000000000000000000000000000000000, 4.00000000000000000000000000000000000000000000000000
8.5000000000000000000000000000000000000000, 0.00000000000000022204460492503130808472633361816406
13.5000000000000000000000000000000000000000, 3.50000000000000000000000000000000000000000000000000
8.5000000000000000000000000000000000000000, 0.50000000000000022204460492503130808472633361816406
13.5000000000000000000000000000000000000000, 3.00000000000000000000000000000000000000000000000000
8.5000000000000000000000000000000000000000, 1.00000000000000000000000000000000000000000000000000
13.5000000000000000000000000000000000000000, 2.50000000000000000000000000000000000000000000000000
8.5000000000000000000000000000000000000000, 1.50000000000000022204460492503130808472633361816406
13.5000000000000000000000000000000000000000, 1.99999999999999977795539507496869191527366638183594
8.5000000000000000000000000000000000000000, 2.00000000000000000000000000000000000000000000000000
13.5000000000000000000000000000000000000000, 1.50000000000000000000000000000000000000000000000000
8.5000000000000000000000000000000000000000, 2.50000000000000000000000000000000000000000000000000
13.5000000000000000000000000000000000000000, 0.99999999999999977795539507496869191527366638183594
8.5000000000000000000000000000000000000000, 3.00000000000000000000000000000000000000000000000000
13.5000000000000000000000000000000000000000, 0.49999999999999977795539507496869191527366638183594
8.5000000000000000000000000000000000000000, 3.50000000000000000000000000000000000000000000000000
13.5000000000000000000000000000000000000000, 0.00000000000000000000000000000000000000000000000000
8.5000000000000000000000000000000000000000, 4.00000000000000000000000000000000000000000000000000
13.0000000000000000000000000000000000000000, 0.00000000000000000000000000000000000000000000000000
9.0000000000000000000000000000000000000000, 4.00000000000000000000000000000000000000000000000000
12.5000000000000000000000000000000000000000, 0.00000000000000000000000000000000000000000000000000
9.5000000000000000000000000000000000000000, 4.00000000000000000000000000000000000000000000000000
12.0000000000000000000000000000000000000000, 0.00000000000000000000000000000000000000000000000000
10.0000000000000000000000000000000000000000, 4.00000000000000000000000000000000000000000000000000
11.5000000000000000000000000000000000000000, 0.00000000000000000000000000000000000000000000000000
10.5000000000000000000000000000000000000000, 4.00000000000000000000000000000000000000000000000000
11.0000000000000000000000000000000000000000, 0.00000000000000000000000000000000000000000000000000
11.0000000000000000000000000000000000000000, 4.00000000000000000000000000000000000000000000000000
10.5000000000000000000000000000000000000000, 0.00000000000000000000000000000000000000000000000000
11.5000000000000000000000000000000000000000, 4.00000000000000000000000000000000000000000000000000
10.0000000000000000000000000000000000000000, 0.00000000000000000000000000000000000000000000000000
12.0000000000000000000000000000000000000000, 4.00000000000000000000000000000000000000000000000000
9.5000000000000000000000000000000000000000, 0.00000000000000000000000000000000000000000000000000
12.5000000000000000000000000000000000000000, 4.00000000000000000000000000000000000000000000000000
9.0000000000000000000000000000000000000000, 0.00000000000000022204460492503130808472633361816406
13.0000000000000000000000000000000000000000, 4.00000000000000000000000000000000000000000000000000
However, An infinite loop occurs in the function jcv_boxshape_fillgaps(line 1236 in jc_voronoi.h), resulting in an error in 2d voronoi generation. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions