Method GetParametricTrapeziumSectionAsync
GetParametricTrapeziumSectionAsync(MaterialType, double, double, double, double, bool, bool, CancellationToken)
Returns a parametric trapezium section with given parameters
Declaration
Task<IParametricTrapeziumSection> GetParametricTrapeziumSectionAsync(MaterialType materialType, double depth, double angle, double longerParallelSideLength, double shorterParallelSideLength, bool isFlippedHorizontally, bool isFlippedVertically, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialType | materialType | The material type of section |
| double | depth | The depth (in [mm]) |
| double | angle | The angle of the sides (in [rad]) |
| double | longerParallelSideLength | The length of the longer parallel side (in [mm]) |
| double | shorterParallelSideLength | The length of the shorter parallel side (in [mm]) |
| 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<IParametricTrapeziumSection> | A parametric trapezium section with given parameters |