Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » RotateAngle_Toward
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Changes the input direction in the direction of minimum rotation toward the target direction.
Syntax
C++
C#
void fil::RotateAngle_Toward ( float inAngle, float inTargetAngle, fil::AngleRange::Type inAngleRange, float inRotationAngle, bool inInverse, float& outAngle )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inAngle | float | ||
![]() |
inTargetAngle | float | ||
![]() |
inAngleRange | AngleRange::Type | _0_180 | |
![]() |
inRotationAngle | float | ||
![]() |
inInverse | bool | ||
![]() |
outAngle | float& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inAngle and outAngle
Read more about In-place Computation.