You are here: Start » AVL.NET » AVL.GetProfileValue
Gets a single value from a profile, located at the specified X coordinate.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void GetProfileValue ( AvlNet.Profile inProfile, int inX, bool inSmooth, out float outValue )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inProfile | AvlNet.Profile | Input profile. | |||
inX | int | X coordinate at which the profile value is calculated. | |||
inSmooth | bool | Determines whether an interpolation between two profile elements should be smooth. | |||
outValue | float |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty profile on input in GetProfileValue. |
DomainError | X coordinate out of range in GetProfileValue. |