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