geometry.CrossSectionGeometry
geometry.CrossSectionGeometry(self, m1d_cross_section)A utility class for working with cross section geometries.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| m1d_cross_section | ICrossSection | A cross section from MIKE 1D. | required |
Attributes
| Name | Description |
|---|---|
| coords | Get the coordinates of the cross section. |
Methods
| Name | Description |
|---|---|
| to_shapely | Convert the cross section to a Shapely LineString. |
to_shapely
geometry.CrossSectionGeometry.to_shapely()Convert the cross section to a Shapely LineString.