VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Douglas-Peucker Generalization Algorithm for simplifying 2D & 3D polylines and polygons

by Stavros (3 Submissions)
Category: Graphics
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (18 Votes)

The process of generalization is normally executed when the map scale has to be reduced. Another usage is in cleaning up noisy representations of polylines, possibly generated by a raster-to-vector conversion (tracing).
Generalization can be seen as a form of lossy data compression; given a large and complicated object, we seek to simplify it by reducing detail. Ideally, we obtain a polyline/polygon with far fewer vertices that looks essentially the same at a target scale. This can be a big win in computer graphics, where replacing a large model with a smaller one might have little visual impact but require significantly less storage space and rendering time.

API Declarations
gdi32, kernel32

Rate Douglas-Peucker Generalization Algorithm for simplifying 2D & 3D polylines and polygons

Download Douglas-Peucker Generalization Algorithm for simplifying 2D & 3D polylines and polygons

Download Douglas-Peucker Generalization Algorithm for simplifying 2D & 3D polylines and polygons (10 KB)

Douglas-Peucker Generalization Algorithm for simplifying 2D & 3D polylines and polygons Comments

No comments have been posted about Douglas-Peucker Generalization Algorithm for simplifying 2D & 3D polylines and polygons. Why not be the first to post a comment about Douglas-Peucker Generalization Algorithm for simplifying 2D & 3D polylines and polygons.

Post your comment

Subject:
Message:
0/1000 characters