You are here: Start » AVL.NET » Function Reference » Profile » Profile Basics » AVL.GetProfileValue
Gets a single value from a profile, located at the specified X (real-world) coordinate.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void GetProfileValue ( AvlNet.Profile inProfile, float inX, bool inSmooth, out float outValue )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inProfile | AvlNet.Profile | Input profile. | ||
![]() | inX | float | 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. |


