PHP Classes

Hilbert curve: Generate points of an Hilbert curve

Recommend this page to a friend!
  Info   Example   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 36%Total: 459 All time: 6,097 This week: 63Up
Version License PHP version Categories
hilbert-curve 0.8BSD License3.0Algorithms
Description 

Author

This class can be used to generate points of an Hilbert curve.

It generates points of an Hilbert curve and returns the point in an array.

The class implements the two dimension implementation.

Innovation Award
PHP Programming Innovation award nominee
June 2010
Number 6


Prize: One license of ScriptCase Enterprise edition
Hilbert curves are fractals used in space filling graphics and mapping applications.

This class provides a pure PHP implementation of the Hilbert curve fractals.

Manuel Lemos
Picture of Chi H.
  Performance   Level  
Name: Chi H. <contact>
Classes: 28 packages by
Country: France France
Innovation award
Innovation award
Nominee: 22x

Winner: 3x

Example

<?php
require_once("hilbert.php");

$test = new hilbert();
$test->test_pth();

?>


Screenshots (10)  
  • hilbert.png
  • hilbert2.png
  • hilbert3.png
  • hilbert4.png
  • hilbert_i.png
  • moore_0.png
  • tsp-1.png
  • tsp-2.png
  • tsp-3.png
  • tsp-4.png
  Files folder image Files (30)  
File Role Description
Accessible without login Plain text file GlobalMapTiles.php Aux. Mercantor projection of geo coordinates
Plain text file hilbert.php Class main class
Accessible without login Plain text file hilbert1.csv Output sample
Accessible without login Plain text file hilbert2.csv Output sample
Accessible without login Plain text file hilbert3.csv Output output
Accessible without login Plain text file hilbert4.csv Output sample
Accessible without login Plain text file moore_1.csv Output sample
Accessible without login Image file moore_1.png Output sample
Accessible without login Plain text file moore_3.csv Output sample
Accessible without login Image file moore_3.png Output sample
Accessible without login Plain text file moore_4.csv Output sample
Accessible without login Image file moore_4.png Output sample
Accessible without login Plain text file quadtree.php Example compute google maps quadtree
Accessible without login Plain text file test_hilbert.php Example example-test
Accessible without login Plain text file zcurve.csv Output sample
Accessible without login Plain text file zcurve0.csv Output sample
Accessible without login Plain text file zcurve1.csv Output sample
Accessible without login Plain text file zcurve2.csv Output sample
Accessible without login Plain text file zcurve3.csv Output sample
Accessible without login Plain text file zcurve4.csv Output sample

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:459
This week:0
All time:6,097
This week:63Up
 User Ratings  
 
 All time
Utility:50%StarStarStar
Consistency:50%StarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:36%StarStar
Rank:4087