Back to Adaptive Vision Library website

You are here: Start » Function Reference » Path Spatial Transforms » PathAlongPath

PathAlongPath


Transforms a path to a coordinate system in which the 'axis' path is vertical or horizontal.

Syntax

C++
C#
 
void avl::PathAlongPath
(
	const avl::Path& inPath,
	const avl::Path& inAxis,
	avl::Axis::Type inAxisType,
	float inAxisCoordinate,
	bool inInverse,
	avl::Path& outPath
)

Parameters

Name Type Default Description
inPath const Path& Input path
inAxis const Path& Input axis path
inAxisType Axis::Type Y Type of axis the input axis path is parallel to
inAxisCoordinate float 0.0f Coordinate of the axis path
inInverse bool True Switches to the inverse operation
outPath Path& Transformed path

Errors

Error type Description
DomainError Empty path on input in PathAlongPath.

See Also