SurfaceMultipleProfilesAlongAxis


Creates the profiles of point Z values along X or Y axis.

Syntax

C++
C#
Python
 
def SurfaceMultipleProfilesAlongAxis(
	inSurface: Surface,
	/,
	*,
	inAxis: Axis = Axis.X,
	inCoordinateValueStart: float | None = None,
	inCoordinateValueEnd: float | None = None,
	inCoordinateValueStep: float | None = None,
	inSmoothRadius: int = 0,
	inProfileDomainStart: float | None = None,
	inProfileDomainEnd: float | None = None,
	inMaxInterpolationLength: int | None = None,
	inDefaultValue: float = 0
)
-> (
	outProfiles: list[Profile],
	outCoordinateValues: list[float]
)

Parameters

Name Type Range Default Description
Input value inSurface Surface Input surface
Input value inAxis Axis Axis.X Axis along which the profile is extracted
Input value inCoordinateValueStart float | None None Determines the coordinate the first profile will be extracted from
Input value inCoordinateValueEnd float | None None Limits the coordinate the last profile will be extracted from
Input value inCoordinateValueStep float | None 0.0D - None Determines the distance between consecutive extracted profiles
Input value inSmoothRadius int 0 - 0 Increases the number of neighbouring profiles taken into account extracting a single profile
Input value inProfileDomainStart float | None None Minimal X coordinate of the output profiles
Input value inProfileDomainEnd float | None None Maximal X coordinate of the output profiles
Input value inMaxInterpolationLength int | None 0 - None Maximal number of consecutive not existing profile points to be interpolated
Input value inDefaultValue float 0 Default value of the not existing and not interpolated surface point
Output value outProfiles list[Profile] The resulting profiles of the surface height
Output value outCoordinateValues list[float] The coordinates the output profiles were extracted from