You are here: Start » AVL.NET » AVL.RotateSegment(AvlNet.Segment2D, float, bool, AvlNet.Segment2D)

AVL.RotateSegment(AvlNet.Segment2D, float, bool, AvlNet.Segment2D)

Rotates a segment clockwise around a center point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void RotateSegment(
	AvlNet.Segment2D inSegment,
	float inAngle,
	bool inInverse,
	out AvlNet.Segment2D outSegment
)

Parameters

inSegment
Type: AvlNet.Segment2D
inAngle
Type: System.Single
Clockwise angle of rotation
inInverse
Type: System.Boolean
Switches to the inverse operation
outSegment
Type: AvlNet.Segment2D

Remarks

See full override for more details.

See also