Back to Adaptive Vision Library website

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

SurfaceSinglePointsAlongAxis


Header: AVL.h
Namespace: avl
Module: Vision3DStandard

Returns single array of surface points along X or Y axis.

Syntax

C++
C#
 
void avl::SurfaceSinglePointsAlongAxis
(
	const avl::Surface& inSurface,
	atl::Optional<const avl::Surface&> inSurface2,
	avl::Axis::Type inAxis,
	double inCoordinateValue,
	int inSmoothRadius,
	atl::Optional<double> inMinOutputCoordinate,
	atl::Optional<double> inMaxOutputCoordinate,
	atl::Optional<int> inMaxInterpolationLength,
	atl::Array<avl::Point3D>& outPoints,
	atl::Optional<double&> outCoordinateValue = 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
inCoordinateValue double Determines the coordinate the points will be extracted from
inSmoothRadius int 0 - Increases the number of neighbouring points taken into account
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<Point3D>& The resulting surface points
outCoordinateValue Optional<double&> NIL The coordinate 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: outCoordinateValue.

Read more about Optional Outputs.