You are here: Start » AVL.NET » Invoke.NormalizeSegmentOrientation_ByBaseOrientation

Invoke.NormalizeSegmentOrientation_ByBaseOrientation

Changes orientation of the given segment according to base orientation.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void NormalizeSegmentOrientation_ByBaseOrientation
(
	Avl.Segment2D inSegment,
	float inBaseOrientation,
	out Avl.Segment2D outSegment
)

Parameters

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

See also