webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Functions
array_util.cc File Reference
#include "webrtc/modules/audio_processing/beamformer/array_util.h"
#include <algorithm>
#include <limits>
#include "webrtc/base/checks.h"

Namespaces

 webrtc
 

Functions

float webrtc::GetMinimumSpacing (const std::vector< Point > &array_geometry)
 
Point webrtc::PairDirection (const Point &a, const Point &b)
 
float webrtc::DotProduct (const Point &a, const Point &b)
 
Point webrtc::CrossProduct (const Point &a, const Point &b)
 
bool webrtc::AreParallel (const Point &a, const Point &b)
 
bool webrtc::ArePerpendicular (const Point &a, const Point &b)
 
rtc::Optional< Point > webrtc::GetDirectionIfLinear (const std::vector< Point > &array_geometry)
 
rtc::Optional< Point > webrtc::GetNormalIfPlanar (const std::vector< Point > &array_geometry)
 
rtc::Optional< Point > webrtc::GetArrayNormalIfExists (const std::vector< Point > &array_geometry)
 
Point webrtc::AzimuthToPoint (float azimuth)