Convex hull and diameter of 2d point sets Icon

Convex hull and diameter of 2d point sets

Convex hull and diameter of 2d point sets script returns the convex hul

Convex hull and diameter of 2d point setsOverview

Returns the convex hull (separated into upper and lower Chains of vertices) and the diameter (farthest pair of points), given input consisting of a list of 2d points represented as pairs (x,y). The convex hull Algorithm is Graham's scan, using a coordinate-based sorted order rather than the more commonly seen radiaL sorted order. A rotating calipers algorithm generates candidate pairs of vertices for the diameter calculation. Care was taken handling tricky cases such as pairs of points with the same x-coordinate and colinear Triples of points.

NEW

Fixed some bugs.

Convex hull and diameter of 2d point setsInformation

Version
1.1
Date
02.04.10
License
Language
English
File Size
N/A
Category
SubCategory
Operating Systems
Windows ,Linux,Mac OS,BSD,Solaris
System Requirements
No additional system requirements.
LaTeX codec Icon
Codec for converting unicodes to LaTeX markup and vice versa.
Sieve of Eratosthenes Icon
Computes an infinite sequence of primes using simple generators.
Dendrogram drawing Icon
This recipe draws a dendrogram (horizontal format used for evolutionary trees)
SMAWK totally monotone matrix searching algorithm Icon
This algorithm takes as input a function for computing matrix values.
Breadth first traversal of tree Icon
Uses a recursively called simple generator to traverse a tree in breadth first
Dijkstra's algorithm for shortest paths Icon
Dijkstra(G,s) finds all shortest paths from s to each other vertex in the graph
Hopcroft-Karp bipartite matching Icon
A bipartite graph in a variation of Guido van Rossum's dictionary-of-lists forma
More
Principal Component Analysis (PCA) Icon
A class that carries out Principal Component Analysis (PCA).
Free
CRC64 Icon
The algorithm to compute the CRC is described in the ISO 3309 standard
Mini Fake DNS server Icon
Minimal python dns server, it only replies with a selected ip in an A record
Stripchart Plotter Icon
OpenGL Stripchart plotter for a user defined number of channels.
Free
Metakit for safe reading and writing Icon
Metakit is a reliable/lightweight/fast database library that python can use.
Free
Album Track List Generator Icon
Album Track List Generator allows you to extract artist, album title and track t
Free
SRCDS Icon
A library to interface with Half-Life2 Dedicated Servers
Free
Mod_python Icon
Apache module that embeds the Python interpreter within the server.
More