Home
last modified time | relevance | path

Searched refs:Vec2 (Results 1 – 1 of 1) sorted by relevance

/cts/apps/CtsVerifier/include/colorchecker/
Dvec2.h24 class Vec2{
26 Vec2(T inputX, T inputY) { in Vec2() function
31 Vec2() {} in Vec2() function
33 inline Vec2<T> operator+ (const Vec2<T> &param) const {
34 Vec2<T> temp(mX + param.x(), mY + param.y());
38 inline Vec2<T> operator- (const Vec2<T> &param) const {
39 Vec2<T> temp(mX - param.x(), mY - param.y());
43 inline Vec2<float> operator/ (const int param) const {
45 return Vec2<float>(static_cast<float>(mX) / static_cast<float>(param),
50 float squareDistance(const Vec2<U> &param) const { in squareDistance()
[all …]