TVoronoi

Top  Previous  Next

This class is used for generating Voronoi polygons and Delaunay triangulations. A detailed description of these can be seen in Wikipedia: Voronoi & Triangulation

 

The primary target is calculation of service areas and drivetime isochrones.

 

The sample application shows how to do it for isochrones and service areas. The other modes are done in a similar fashion.

 

You can also use the class independently from the routing functions, if you create and populate the PolyGeneration parameter on your own.

 

Properties relevant for each mode:

 

Mode

GISwrite

PolyGeneration

Slope

Zfieldname

Doughnut

ID

IncludeHoles

IncludeIslands

StepList

Smoothing

vmTriangulationLine

X

X

X

X







vmTriangulationSimple

X

X

X

X







vmSimpleLine

X

X









vmSimple

X

X









vmIsochrone

X

X



X

 

X

X

X

X

vmServiceArea

X

X




X

X

X



 

GISwrite, PolyGeneration and StepList need to be set.

 

Slope, Zfieldname, Doughnut, IncludeIslands and IncludeHoles have default values and can be left unchanged.

 

 

Example of drivetime isochrone:

isopoly_drivetime

 

 

Example of service area calculation:

isopoly_servicearea