Contour tracing and segment chaining module
This module handles the low-level contour tracing algorithm (marching squares segment extraction), segment chaining via hash-table lookup, and drawing of smoothed contour chains.
Procedures: trace_contour_level, chain_and_draw_segments, extend_chain_forward_hash, extend_chain_backward_hash, endpoint_hash, points_match, draw_smoothed_chain
Trace a single contour level with smoothing
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_context), | intent(inout) | :: | backend | |||
| type(plot_data_t), | intent(in) | :: | plot_data | |||
| real(kind=wp), | intent(in) | :: | level | |||
| character(len=*), | intent(in) | :: | xscale | |||
| character(len=*), | intent(in) | :: | yscale | |||
| real(kind=wp), | intent(in) | :: | symlog_threshold | |||
| real(kind=wp), | intent(in) | :: | x_min_t | |||
| real(kind=wp), | intent(in) | :: | x_max_t | |||
| real(kind=wp), | intent(in) | :: | y_min_t | |||
| real(kind=wp), | intent(in) | :: | y_max_t |