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

AVS.NormalizeSegmentOrientation_ByBaseOrientation Method

Changes orientation of the given segment according to base orientation.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void NormalizeSegmentOrientation_ByBaseOrientation
(
	AvlNet.Segment2D inSegment,
	float inBaseOrientation,
	out AvlNet.Segment2D outSegment
)

Parameters

Name Type Range Default Description
inSegmentAvlNet.Segment2D
inBaseOrientationfloat0.0fAn angle relative to which angle differences are calculated. Default value: 0.0f.
outSegmentAvlNet.Segment2DA segment which orientation is closer to inBaseOrientation.

See also