You are here: Start » AVL.NET » AVL.RotateLine(AvlNet.Line2D, AvlNet.Point2D, float, bool, AvlNet.Line2D)

AVL.RotateLine(AvlNet.Line2D, AvlNet.Point2D, float, bool, AvlNet.Line2D)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void RotateLine(
	AvlNet.Line2D inLine,
	AvlNet.Point2D inCenter,
	float inAngle,
	bool inInverse,
	out AvlNet.Line2D outLine
)

Parameters

inLine
Type: AvlNet.Line2D
inCenter
Type: AvlNet.Point2D
inAngle
Type: System.Single
inInverse
Type: System.Boolean
outLine
Type: AvlNet.Line2D

Examples

RotateLine performed on the sample line, inCenter = (152.0, 121.0), inAngle = 90.0 and inInverse = False. The inCenter point is drawn on the first image in blue.

Errors

Error type Description
DomainError Indefinite line on input in RotateLine.

See also