You are here: Start » AVL.NET » Function Reference » Surface » Surface Features » AVL.SurfaceSingleProfileAlongAxis
Creates the profile of point Z values along X or Y axis.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void SurfaceSingleProfileAlongAxis ( AvlNet.Surface inSurface, AvlNet.Axis inAxis, double inCoordinateValue, int inSmoothRadius, double? inProfileDomainStart, double? inProfileDomainEnd, int? inMaxInterpolationLength, float inDefaultValue, AvlNet.Profile outProfile, out double outCoordinateValue )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | AvlNet.Surface | Input surface. | |||
inAxis | AvlNet.Axis | Axis along which the profile is extracted. | |||
inCoordinateValue | double | Determines the coordinate the profile will be extracted from. | |||
inSmoothRadius | int | <0, INF> | Increases the number of neighbouring profiles taken into account extracting a profile. | ||
inProfileDomainStart | double? | Minimal X coordinate of the output profile. Default value: atl::NIL. | |||
inProfileDomainEnd | double? | Maximal X coordinate of the output profile. Default value: atl::NIL. | |||
inMaxInterpolationLength | int? | <0, INF> | Maximal number of consecutive not existing profile points to be interpolated. Default value: atl::NIL. | ||
inDefaultValue | float | Default value of the not existing and not interpolated surface point. | |||
outProfile | AvlNet.Profile | The resulting profile of the surface height. | |||
outCoordinateValue | double | The coordinate the output profile was extracted from. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Incorrect output profile domain in SurfaceSingleProfileAlongAxis. |
DomainError | Input coordinate value exceeds surface in SurfaceSingleProfileAlongAxis. |
DomainError | Unknown axis type in SurfaceSingleProfileAlongAxis. |
Function Overrides
- SurfaceSingleProfileAlongAxis(Surface, Axis, Double, Int32, Single, Profile)
- SurfaceSingleProfileAlongAxis(Surface, Axis, Double, Int32, Nullable<Double>, Nullable<Double>, Nullable<Int32>, Single, Profile)
- SurfaceSingleProfileAlongAxis(Surface, Axis, Double, Int32, Nullable<Double>, Nullable<Double>, Nullable<Int32>, Single, Profile, NullableValue<Double>)