You are here: Start » AVL.NET » AVL.ProfileSections
Finds subprofiles whose values fall into the specified range.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ProfileSections ( AvlNet.Profile inProfile, float? inMinValue, float? inMaxValue, float inMinSectionWidth, float? inMaxSectionWidth, float inMinGapWidth, float? inMaxGapWidth, float? inMaxInnerGapWidth, IList<AvlNet.ProfileSection> outSections, out AvlNet.ProfileSection? outBoundingSection )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inProfile | AvlNet.Profile | Input profile. | |||
inMinValue | float? | 5.0f | Lower bound for profile values. Default value: 5.0f. | ||
inMaxValue | float? | Upper bound for profile values. Default value: atl::NIL. | |||
inMinSectionWidth | float | <0.0f, INF> | 0.0f | Minimal width of the found section. Default value: 0.0f. | |
inMaxSectionWidth | float? | <0.0f, INF> | Maximal width of the found section. Default value: atl::NIL. | ||
inMinGapWidth | float | <0.0f, INF> | 0.0f | Minimal distance between consecutive sections. Default value: 0.0f. | |
inMaxGapWidth | float? | <0.0f, INF> | Maximal distance between consecutive sections. Default value: atl::NIL. | ||
inMaxInnerGapWidth | float? | <0.0f, INF> | 0.0f | Maximal possible gap width between two sections to join them into one. Default value: 0.0f. | |
outSections | System.Collections.Generic.IList<AvlNet.ProfileSection> | Output profile sections. | |||
outBoundingSection | AvlNet.ProfileSection? | The smallest section that contains all outSections. |