![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
#include <openswmm_heat.h>
Public Attributes | |
| unsigned int | struct_size |
| int | link |
| int | valid |
| int | contact_cells |
| int | contact_intervals |
| double | length_m |
| double | covered_length_m |
| double | uncovered_length_m |
| char | reason [256] |
Pre-run, read-only XY coverage preview for one routed channel. Contact intervals use whole-polyline fractions, have layer=-1, and may be returned even when valid is false so uncovered geometry remains visible. A valid result means the complete polyline lies in the mesh; soil-profile, invert, bed-thickness and thermal-owner checks still run at initialization. Initialize struct_size and pass contacts=null/capacity=0 to query the required interval count. If capacity is too small, status and required are returned but the contact array is left untouched. Only OPENED/BUILDING engines with a parsed mesh are accepted.
| int SWMM_ChannelGroundPreview::contact_cells |
| int SWMM_ChannelGroundPreview::contact_intervals |
| double SWMM_ChannelGroundPreview::covered_length_m |
| double SWMM_ChannelGroundPreview::length_m |
| int SWMM_ChannelGroundPreview::link |
| char SWMM_ChannelGroundPreview::reason[256] |
| unsigned int SWMM_ChannelGroundPreview::struct_size |
| double SWMM_ChannelGroundPreview::uncovered_length_m |
| int SWMM_ChannelGroundPreview::valid |