You are here: Start » AVL.NET » AVL.PathAlongPath Method

AVL.PathAlongPath Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void PathAlongPath(
	AvlNet.Path inPath,
	AvlNet.Path inAxis,
	AvlNet.Axis inAxisType,
	float inAxisCoordinate,
	bool inInverse,
	out AvlNet.Path outPath
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
inAxisAvlNet.PathInput axis path.
inAxisTypeAvlNet.AxisYType of axis the input axis path is parallel to. Default value: Y.
inAxisCoordinatefloat0.0fCoordinate of the axis path. Default value: 0.0f.
inInverseboolTrueSwitches to the inverse operation. Default value: True.
outPathAvlNet.PathTransformed path.

Errors

Error type Description
DomainError Empty path on input in PathAlongPath.

See also