5.2
Simplify
Line
Simply Line is used to simplify a polyline by removing small fluctuations or extraneous bends from it while preserving its essential shape. This step becomes particularly crucial for quality and efficient domain decomposition as an unsimplified feature can have unnecessarily large number of nodes in it which in turn determines the number of triangulations generated. Needless to say, larger is the number of decomposed triangle elements, larger will be the computational requirement of the numerical model simulation. Figure x.x shows intermediate steps in polyline simplification using Douglas-Peucker algorithm.
Original
Polyline Simplified
Polyline Maximal Distance
Line Distance Line
Smaller Than
Threshold
First of all browse shape file(s) of
“polyline” type. A tolerance (double type) should be provided which acts as the
maximum distance value for the simplification algorithm. After
that +