PHP Classes

File: example

Recommend this page to a friend!
  Classes of Chi H.   PHP Voronoi Diagram   example   Download  
File: example
Role: Example script
Content type: text/plain
Description: example
Class: PHP Voronoi Diagram
Generate a voronoi diagram for a set of points
Author: By
Last change: Fix error reporting (division by zero)
Date: 10 years ago
Size: 790 bytes


Class file image Download

* Copyright notice
* (c) 2010-2013 Chi Hoang (
* All rights reserved
// Turn off all error reporting

// example 1
$triangle=new voronoi();

$vis=new visualize("/tmp/",$triangle);
for (
$vis=new visualize("/tmp/",$triangle);