MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ angle_fraction() [1/2]

std::function< float(glm::vec2)> MayaFlux::Kinesis::angle_fraction ( AABB2D  region,
float  angle_start,
float  angle_end 
)
inlinenoexcept

angle_fraction centred on a region.

Companion to the region-taking radial overload, which derives its centre from the region in the same way.

Definition at line 122 of file Projection.hpp.

123{
124 return angle_fraction(region.center(), angle_start, angle_end);
125}
std::function< float(glm::vec2)> angle_fraction(glm::vec2 center, float angle_start, float angle_end) noexcept
Fraction along an angular sweep about center.
glm::vec2 center() const noexcept
Definition Bounds.hpp:40

References angle_fraction().

+ Here is the call graph for this function: