Method GetParametricPolygonSectionAsync
GetParametricPolygonSectionAsync(MaterialType, double, int, InitialOrientation, CancellationToken)
Returns a parametric polygon section with given parameters
Declaration
Task<IParametricPolygonSection> GetParametricPolygonSectionAsync(MaterialType materialType, double dimensionFromCentroidToEachVertex, int numberOfVertices, InitialOrientation initialOrientation, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialType | materialType | The material type of section |
| double | dimensionFromCentroidToEachVertex | The dimension from the centroid to each vertex (in [mm]) |
| int | numberOfVertices | The number of vertices |
| InitialOrientation | initialOrientation | The initial orientation of polygon |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task<IParametricPolygonSection> | A parametric polygon section with given parameters |