Home
last modified time | relevance | path

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

/external/eigen/Eigen/src/Eigen2Support/Geometry/
DRotation2D.h52 Scalar m_angle;
57 inline Rotation2D(Scalar a) : m_angle(a) {}
60 inline Scalar angle() const { return m_angle; }
63 inline Scalar& angle() { return m_angle; }
66 inline Rotation2D inverse() const { return -m_angle; }
70 { return m_angle + other.m_angle; }
74 { return m_angle += other.m_angle; return *this; }
88 { return m_angle * (1-t) + other.angle() * t; }
103 m_angle = Scalar(other.angle());
111 { return ei_isApprox(m_angle,other.m_angle, prec); }
[all …]
DAngleAxis.h64 Scalar m_angle;
73 inline AngleAxis(Scalar angle, const MatrixBase<Derived>& axis) : m_axis(axis), m_angle(angle) {}
80 Scalar angle() const { return m_angle; }
81 Scalar& angle() { return m_angle; }
112 { return AngleAxis(-m_angle, m_axis); }
136 m_angle = Scalar(other.angle());
144 { return m_axis.isApprox(other.m_axis, prec) && ei_isApprox(m_angle,other.m_angle, prec); }
163 m_angle = 0;
168 m_angle = 2*std::acos(q.w());
192 Vector3 sin_axis = ei_sin(m_angle) * m_axis;
[all …]
/external/eigen/Eigen/src/Geometry/
DRotation2D.h57 Scalar m_angle;
62 inline Rotation2D(Scalar a) : m_angle(a) {}
65 inline Scalar angle() const { return m_angle; }
68 inline Scalar& angle() { return m_angle; }
71 inline Rotation2D inverse() const { return -m_angle; }
75 { return m_angle + other.m_angle; }
79 { m_angle += other.m_angle; return *this; }
93 { return m_angle * (1-t) + other.angle() * t; }
108 m_angle = Scalar(other.angle());
118 { return internal::isApprox(m_angle,other.m_angle, prec); }
[all …]
DAngleAxis.h67 Scalar m_angle;
79 inline AngleAxis(Scalar angle, const MatrixBase<Derived>& axis) : m_axis(axis), m_angle(angle) {}
86 Scalar angle() const { return m_angle; }
87 Scalar& angle() { return m_angle; }
106 { return AngleAxis(-m_angle, m_axis); }
131 m_angle = Scalar(other.angle());
141 { return m_axis.isApprox(other.m_axis, prec) && internal::isApprox(m_angle,other.m_angle, prec); }
167 m_angle = 0;
172 m_angle = Scalar(2)*acos((min)((max)(Scalar(-1),q.w()),Scalar(1)));
206 Vector3 sin_axis = internal::sin(m_angle) * m_axis;
[all …]
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGTransform.cpp33 , m_angle(0) in SVGTransform()
39 , m_angle(0) in SVGTransform()
47 , m_angle(0) in SVGTransform()
55 m_angle = 0; in setMatrix()
65 m_angle = 0; in updateSVGMatrix()
71 m_angle = 0; in setTranslate()
85 m_angle = 0; in setScale()
100 m_angle = angle; in setRotate()
113 m_angle = angle; in setSkewX()
122 m_angle = angle; in setSkewY()
[all …]
DSVGTransformDistance.cpp32 , m_angle(0) in SVGTransformDistance()
40 , m_angle(angle) in SVGTransformDistance()
49 , m_angle(0) in SVGTransformDistance()
62 m_angle = toSVGTransform.angle() - fromSVGTransform.angle(); in SVGTransformDistance()
80 m_angle = toSVGTransform.angle() - fromSVGTransform.angle(); in SVGTransformDistance()
93 …return SVGTransformDistance(m_type, m_angle * scaleFactor, m_cx * scaleFactor, m_cy * scaleFactor,… in scaledDistance()
95 …return SVGTransformDistance(m_type, m_angle * scaleFactor, m_cx * scaleFactor, m_cy * scaleFactor,… in scaledDistance()
104 …return SVGTransformDistance(m_type, m_angle * scaleFactor, m_cx * scaleFactor, m_cy * scaleFactor,… in scaledDistance()
175 newTransform.setRotate(transform.angle() + m_angle, center.x() + m_cx, center.y() + m_cy); in addToSVGTransform()
179 newTransform.setSkewX(transform.angle() + m_angle); in addToSVGTransform()
[all …]
DSVGPathSegArc.h36 , m_angle(angle) in SVGPathSegArc()
70 float angle() const { return m_angle; } in angle()
73 m_angle = angle; in setAngle()
96 float m_angle; variable
DSVGTransform.h59 float angle() const { return m_angle; } in angle()
82 float m_angle; variable
89 return a.m_type == b.m_type && a.m_angle == b.m_angle && a.m_matrix == b.m_matrix;
DSVGTransformDistance.h46 float m_angle; variable
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DRotateTransformOperation.h47 double angle() const { return m_angle; } in angle()
50 virtual bool isIdentity() const { return m_angle == 0; } in isIdentity()
59 return m_x == r->m_x && m_y == r->m_y && m_z == r->m_z && m_angle == r->m_angle;
64 transform.rotate3d(m_x, m_y, m_z, m_angle); in apply()
73 , m_angle(angle) in RotateTransformOperation()
82 double m_angle; variable
DRotateTransformOperation.cpp39 … return RotateTransformOperation::create(m_x, m_y, m_z, m_angle - m_angle * progress, m_type); in blend()
47 double fromAngle = fromOp ? fromOp->m_angle : 0; in blend()
51 … WebCore::blend(fromAngle, m_angle, progress), m_type); in blend()
62 (fromOp ? fromOp->m_angle : 0)); in blend()
67 (toOp ? toOp->m_angle : 0)); in blend()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSGradientValue.h144 void setAngle(PassRefPtr<CSSPrimitiveValue> val) { m_angle = val; } in setAngle()
166 , m_angle(other.m_angle) in CSSLinearGradientValue()
170 RefPtr<CSSPrimitiveValue> m_angle; // may be null. variable
DCSSGradientValue.cpp501 if (m_angle) in customCSSText()
502 result.append(m_angle->cssText()); in customCSSText()
534 if (m_angle && m_angle->computeDegrees() != 180) { in customCSSText()
535 result.append(m_angle->cssText()); in customCSSText()
644 if (m_angle) { in createGradient()
645 float angle = m_angle->getFloatValue(CSSPrimitiveValue::CSS_DEG); in createGradient()
717 if (m_angle) in equals()
718 return compareCSSValuePtr(m_angle, other.m_angle) && m_stops == other.m_stops; in equals()
720 if (other.m_angle) in equals()