Git Product home page Git Product logo

voronoi-diagram's Introduction

Voronoi Diagram

Program that calculates the optimal location of a new point according to the given points.

Example

Input data

Input must be a .csv file looking like this.

ID X Y
0 0.7856490658429476 0.9967078397368732
1 0.7690738708610362 0.12723780755835568
...

Points on surface

Points on surface

In given set of points, we search for optimal place for new point.

Console output

Provide file name (csv extension): ../points.csv
Set precision (decimal places): 7
Optimal place:
Point ID: -1, x: 0.5174322, y: 0.7676538
Data to visualize is in file visualize.txt

Points on surface with new point found

Points on surface with new point found

There also should be created visualize.txt file which contains data you can use in simple visualizator

Running program

Visual Studio

Download repository and just run Local Windows Debugger. Program will ask for file location etc.

References

voronoi-diagram's People

Contributors

dar3cz3q avatar

Watchers

 avatar

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.