concreteproperties.results.MomentInteractionResults#
- class MomentInteractionResults(n: ~typing.List[float] = <factory>, m: ~typing.List[float] = <factory>)[source]#
Bases:
object
Class for storing moment interaction results.
- Variables
n (List[float]) – List of axial forces
m (List[float]) – List of bending moments
Methods
Plots a moment interaction diagram.
Plots multiple moment interaction diagrams.
Attributes
n
m
- plot_diagram(n_scale: Optional[float] = 0.001, m_scale: Optional[float] = 1e-06, **kwargs) matplotlib.axes.Axes [source]#
Plots a moment interaction diagram.
- Parameters
n_scale (Optional[float]) – Scaling factor to apply to axial force
n_scale – Scaling factor to apply to axial force
kwargs – Passed to
plotting_context()
- Returns
Matplotlib axes object
- Return type
- static plot_multiple_diagrams(moment_interaction_results: List[MomentInteractionResults], labels: List[str], n_scale: Optional[float] = 0.001, m_scale: Optional[float] = 1e-06, **kwargs) matplotlib.axes.Axes [source]#
Plots multiple moment interaction diagrams.
- Parameters
moment_interaction_results (List[
MomentInteractionResults
]) – List of moment interaction results objectslabels (List[str]) – List of labels for each moment interaction diagram
n_scale (Optional[float]) – Scaling factor to apply to axial force
m_scale (Optional[float]) – Scaling factor to apply to bending moment
kwargs – Passed to
plotting_context()
- Returns
Matplotlib axes object
- Return type