Back to Adaptive Vision Library website

You are here: Start » Function Reference » Surface » Surface Features » SurfaceMultiplePointsAlongAxis

SurfaceMultiplePointsAlongAxis


Header: AVL.h
Namespace: avl
Module: Vision3DStandard

Returns multiple arrays of surface points along X or Y axis.

Syntax

C++
C#
 
void avl::SurfaceMultiplePointsAlongAxis
(
	const avl::Surface& inSurface,
	atl::Optional<const avl::Surface&> inSurface2,
	avl::Axis::Type inAxis,
	atl::Optional<double> inCoordinateValueStart,
	atl::Optional<double> inCoordinateValueEnd,
	atl::Optional<double> inCoordinateValueStep,
	int inSmoothRadius,
	atl::Optional<double> inMinOutputCoordinate,
	atl::Optional<double> inMaxOutputCoordinate,
	atl::Optional<int> inMaxInterpolationLength,
	atl::Array<atl::Array<avl::Point3D>>& outPoints,
	atl::Optional<atl::Array<double>&> outCoordinateValues = atl::NIL
)

Parameters

Name Type Range Default Description
inSurface const Surface& Input surface
inSurface2 Optional<const Surface&> NIL Optional second input surface
inAxis Axis::Type Axis along which the points are extracted
inCoordinateValueStart Optional<double> NIL Determines the coordinate the first row of points will be extracted from
inCoordinateValueEnd Optional<double> NIL Limits the coordinate the last row of points will be extracted from
inCoordinateValueStep Optional<double> 0 - NIL Determines the distance between consecutive extracted row of points
inSmoothRadius int 0 - Increases the number of neighbouring points taken into account extracting a single row of points
inMinOutputCoordinate Optional<double> NIL Minimal second coordinate of the output points
inMaxOutputCoordinate Optional<double> NIL Maximal second coordinate of the output points
inMaxInterpolationLength Optional<int> 0 - 0 Maximal number of consecutive not existing points to be interpolated
outPoints Array<Array<Point3D>>& The resulting surface points
outCoordinateValues Optional<Array<double>&> NIL The coordinates the output points were extracted from

Optional Outputs

The computation of following outputs can be switched off by passing value atl::NIL to these parameters: outCoordinateValues.

Read more about Optional Outputs.