Method GetParametricParallelogramSectionAsync
GetParametricParallelogramSectionAsync(MaterialType, double, double, double, bool, bool, CancellationToken)
Returns a parametric parallelogram section with given parameters
Declaration
Task<IParametricParallelogramSection> GetParametricParallelogramSectionAsync(MaterialType materialType, double horizontalLength, double angledLength, double angle, bool isFlippedHorizontally, bool isFlippedVertically, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialType | materialType | The material type of section |
| double | horizontalLength | The length of the horizontal side (in [mm]) |
| double | angledLength | The length of the angled side (in [mm]) |
| double | angle | The angle of the sides (in [rad]) |
| bool | isFlippedHorizontally | A value indicating whether the section should be flipped horizontally |
| bool | isFlippedVertically | A value indicating whether the section should be flipped vertically |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task<IParametricParallelogramSection> | A parametric parallelogram section with given parameters |