OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
shape.c File Reference

Geometry tables for custom cross-section shapes. More...

#include <math.h>
#include "headers.h"
Include dependency graph for shape.c:

Macros

#define _CRT_SECURE_NO_DEPRECATE
 

Functions

int shape_validate (TShape *shape, TTable *curve)
 Computes the entries in a custom x-section shape's geometry tables from its user-supplied width v. height curve.
 

Detailed Description

Geometry tables for custom cross-section shapes.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com (OpenSWMM maintenance and extensions)
License
Apache-2.0 for OpenSWMM contributions; original EPA SWMM provenance is retained.

Macro Definition Documentation

◆ _CRT_SECURE_NO_DEPRECATE

#define _CRT_SECURE_NO_DEPRECATE

Function Documentation

◆ shape_validate()

int shape_validate ( TShape * shape,
TTable * curve )

Computes the entries in a custom x-section shape's geometry tables from its user-supplied width v. height curve.

Parameters
shapePointer to a custom x-section TShape object.
curvePointer to shape's table of width v. height.
Returns
TRUE if successful. FALSE if not.
Here is the caller graph for this function: