You are here: Start » AVL.NET » AVS.RotateSegment Method

AVS.RotateSegment Method

Rotates a segment clockwise around a center point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inSegmentAvlNet.Segment2D
inCenterAvlNet.Point2D?Center of rotation (by default the mass center). Default value: atl::NIL.
inAnglefloatClockwise angle of rotation.
inInverseboolSwitches to the inverse operation.
outSegmentAvlNet.Segment2D

Function Overrides

See also