You are here: Start » AVL.NET » AVL.PointAlongPath(AvlNet.Point2D, AvlNet.Path, AvlNet.Axis, float, bool, AvlNet.Point2D)

AVL.PointAlongPath(AvlNet.Point2D, AvlNet.Path, AvlNet.Axis, float, bool, AvlNet.Point2D)

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void PointAlongPath(
	AvlNet.Point2D inPoint,
	AvlNet.Path inAxis,
	AvlNet.Axis inAxisType,
	float inAxisCoordinate,
	bool inInverse,
	out AvlNet.Point2D outPoint
)

Parameters

inPoint
Type: AvlNet.Point2D
Input point
inAxis
Type: AvlNet.Path
Input axis path
inAxisType
Type: AvlNet.Axis
Type of axis the input axis path is parallel to
inAxisCoordinate
Type: System.Single
Coordinate of the axis path
inInverse
Type: System.Boolean
Switches to the inverse operation
outPoint
Type: AvlNet.Point2D
Transformed point

Errors

Error type Description
DomainError Empty path on input in PointAlongPath.

See also