PHP Classes

Regular Delaunay Triangulation: Render Delaunay triangulation graphs with weights

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 102 All time: 9,711 This week: 284Up
Version License PHP version Categories
rdt 0.1Free For Educatio...4Algorithms, Graphics, Geography


This package can render Delaunay triangulation graphs with weights.

It implements the Delaunay triangulation algorithm considering weights for each point on the plane.

A separate class renders the graph of triangles with the edges computed with the Delaunay triangulation.

Picture of Chi H.
  Performance   Level  
Name: Chi H. <contact>
Classes: 28 packages by
Country: France France
Age: 39
All time rank: 34522 in France France
Week rank: 191 Up7 in France France Up
Innovation award
Innovation award
Nominee: 22x

Winner: 3x



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

// example 1
for (
// $set[]=array($tree[$i],$tree[$i+1],$tree[$i+2]);
$tri=new voronoi();

$nearest=new nearestneighbor();
//$p=new Point(12,322);
$p=new Point(60,60);
//$p=new Point(26,229);

//for ($i=0,$end=count($tree);$i<$end;$i+=2)
// $set[]=array($tree[$i],$tree[$i+1]);
//$tri=new voronoi();

//$nearest=new nearestneighbor();
//$p=new Point(12,322);
//$p=new Point(160,160);
//$p=new Point(326,229);
//$p=new Point(188,298);


// experimental point-in-polygon

  • screenshot.png
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example class
Plain text file main.php Class main class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,711
This week:284Up