OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ArePerpendicular
(Results
1 - 3
of
3
) sorted by null
/external/webrtc/webrtc/modules/audio_processing/beamformer/
array_util_unittest.cc
73
TEST(ArrayUtilTest,
ArePerpendicular
) {
74
EXPECT_TRUE(
ArePerpendicular
(Point(0.f, 0.f, 0.f), Point(1.f, 2.f, 3.f)));
75
EXPECT_TRUE(
ArePerpendicular
(Point(1.f, 0.f, 2.f), Point(0.f, 3.f, 0.f)));
76
EXPECT_TRUE(
ArePerpendicular
(Point(1.f, 2.f, 0.f), Point(1.f, -0.5f, 0.f)));
77
EXPECT_FALSE(
ArePerpendicular
(Point(1.f, -2.f, 3.f), Point(-3.f, 2.f, -1.f)));
78
EXPECT_FALSE(
ArePerpendicular
(Point(1.f, 0.f, 0.f), Point(2.f, 0.f, 0.f)));
79
EXPECT_FALSE(
ArePerpendicular
(Point(1.f, 2.f, 3.f), Point(-2.f, -4.f, -6.f)));
array_util.cc
55
bool
ArePerpendicular
(const Point& a, const Point& b) {
95
if (!
ArePerpendicular
(normal_direction, pair_direction)) {
array_util.h
54
bool
ArePerpendicular
(const Point& a, const Point& b);
Completed in 179 milliseconds