Home
last modified time | relevance | path

Searched refs:Rotation (Results 1 – 25 of 4549) sorted by relevance

12345678910>>...182

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/transforms/
H A Drotation_test.cc29 EXPECT_TRUE(Rotation::GetCommonAxis(Rotation(FloatPoint3D(0, 0, 0), 0), in TEST()
38 EXPECT_TRUE(Rotation::GetCommonAxis(Rotation(FloatPoint3D(1, 2, 3), 100), in TEST()
52 EXPECT_TRUE(Rotation::GetCommonAxis(Rotation(FloatPoint3D(3, 2, 1), 0), in TEST()
84 Rotation x_rotation = Rotation::Add(Rotation(FloatPoint3D(1, 0, 0), 60), in TEST()
89 Rotation y_rotation = Rotation::Add(Rotation(FloatPoint3D(0, 1, 0), 60), in TEST()
94 Rotation z_rotation = Rotation::Add(Rotation(FloatPoint3D(0, 0, 1), 60), in TEST()
100 Rotation xy_rotation = Rotation::Add(Rotation(FloatPoint3D(1, 0, 0), 90), in TEST()
107 Rotation yz_rotation = Rotation::Add(Rotation(FloatPoint3D(0, 1, 0), 90), in TEST()
112 Rotation zx_rotation = Rotation::Add(Rotation(FloatPoint3D(0, 0, 1), 90), in TEST()
121 Rotation::Slerp(Rotation(FloatPoint3D(1, 0, 0), 30), in TEST()
[all …]
H A Drotation.h12 struct PLATFORM_EXPORT Rotation { struct
13 Rotation() : axis(0, 0, 0), angle(0) {} in Rotation() function
15 Rotation(const FloatPoint3D& axis, double angle) : axis(axis), angle(angle) {} in Rotation() argument
21 static bool GetCommonAxis(const Rotation& /*a*/,
22 const Rotation& /*b*/,
29 static Rotation Slerp(const Rotation& from,
30 const Rotation& to,
34 static Rotation Add(const Rotation& /*a*/, const Rotation& /*b*/);
/dports/games/freedoko/FreeDoko_0.7.19/src/basetypes/
H A Drotation.cpp37 Rotation
41 case Rotation::up: in clockwise()
43 case Rotation::down: in clockwise()
45 case Rotation::right: in clockwise()
47 case Rotation::left: in clockwise()
55 return Rotation::up; in clockwise()
64 Rotation
68 case Rotation::up: in counterclockwise()
70 case Rotation::down: in counterclockwise()
74 case Rotation::left: in counterclockwise()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/transforms/
H A Drotation_test.cc16 EXPECT_TRUE(Rotation::GetCommonAxis(Rotation(FloatPoint3D(0, 0, 0), 0), in TEST()
17 Rotation(FloatPoint3D(1, 2, 3), 100), in TEST()
23 EXPECT_TRUE(Rotation::GetCommonAxis(Rotation(FloatPoint3D(1, 2, 3), 100), in TEST()
30 EXPECT_TRUE(Rotation::GetCommonAxis(Rotation(FloatPoint3D(0, 0, 0), 100), in TEST()
31 Rotation(FloatPoint3D(1, 2, 3), 100), in TEST()
37 EXPECT_TRUE(Rotation::GetCommonAxis(Rotation(FloatPoint3D(3, 2, 1), 0), in TEST()
38 Rotation(FloatPoint3D(1, 2, 3), 100), in TEST()
44 EXPECT_TRUE(Rotation::GetCommonAxis(Rotation(FloatPoint3D(1, 2, 3), 50), in TEST()
51 EXPECT_TRUE(Rotation::GetCommonAxis(Rotation(FloatPoint3D(1, 2, 3), 50), in TEST()
58 EXPECT_FALSE(Rotation::GetCommonAxis(Rotation(FloatPoint3D(1, 2, 3), 50), in TEST()
[all …]
H A Drotation.h12 struct PLATFORM_EXPORT Rotation { struct
13 Rotation() : axis(0, 0, 0), angle(0) {} in Rotation() argument
15 Rotation(const FloatPoint3D& axis, double angle) : axis(axis), angle(angle) {} in Rotation() function
21 static bool GetCommonAxis(const Rotation& /*a*/,
22 const Rotation& /*b*/,
29 static Rotation Slerp(const Rotation& from,
30 const Rotation& to,
34 static Rotation Add(const Rotation& /*a*/, const Rotation& /*b*/);
/dports/games/atr3d/atr3d/
H A Dreadnetworkdata.cpp92 ServerShips[i]->Rotation.x=1.0; in ReadNetworkData()
94 ServerShips[i]->Rotation.x=-1.0; in ReadNetworkData()
96 ServerShips[i]->Rotation.x=0.0; in ReadNetworkData()
99 ServerShips[i]->Rotation.y=1.0; in ReadNetworkData()
101 ServerShips[i]->Rotation.y=-1.0; in ReadNetworkData()
103 ServerShips[i]->Rotation.y=0.0; in ReadNetworkData()
106 ServerShips[i]->Rotation.z=1.0; in ReadNetworkData()
110 ServerShips[i]->Rotation.z=0.0; in ReadNetworkData()
157 Rotation.x=0.0; in ReadNetworkData()
158 Rotation.y=0.0; in ReadNetworkData()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/modules/desktop_capture/
H A Ddesktop_frame_rotation.cc22 case Rotation::CLOCK_WISE_0: in ToLibyuvRotationMode()
24 case Rotation::CLOCK_WISE_90: in ToLibyuvRotationMode()
26 case Rotation::CLOCK_WISE_180: in ToLibyuvRotationMode()
28 case Rotation::CLOCK_WISE_270: in ToLibyuvRotationMode()
46 Rotation ReverseRotation(Rotation rotation) { in ReverseRotation()
48 case Rotation::CLOCK_WISE_0: in ReverseRotation()
50 case Rotation::CLOCK_WISE_90: in ReverseRotation()
58 return Rotation::CLOCK_WISE_0; in ReverseRotation()
63 case Rotation::CLOCK_WISE_0: in RotateSize()
66 case Rotation::CLOCK_WISE_90: in RotateSize()
[all …]
/dports/net-im/tg_owt/tg_owt-d578c76/src/modules/desktop_capture/
H A Ddesktop_frame_rotation.cc22 case Rotation::CLOCK_WISE_0: in ToLibyuvRotationMode()
24 case Rotation::CLOCK_WISE_90: in ToLibyuvRotationMode()
26 case Rotation::CLOCK_WISE_180: in ToLibyuvRotationMode()
28 case Rotation::CLOCK_WISE_270: in ToLibyuvRotationMode()
46 Rotation ReverseRotation(Rotation rotation) { in ReverseRotation()
48 case Rotation::CLOCK_WISE_0: in ReverseRotation()
50 case Rotation::CLOCK_WISE_90: in ReverseRotation()
58 return Rotation::CLOCK_WISE_0; in ReverseRotation()
63 case Rotation::CLOCK_WISE_0: in RotateSize()
66 case Rotation::CLOCK_WISE_90: in RotateSize()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/modules/desktop_capture/
H A Ddesktop_frame_rotation.cc22 case Rotation::CLOCK_WISE_0: in ToLibyuvRotationMode()
24 case Rotation::CLOCK_WISE_90: in ToLibyuvRotationMode()
26 case Rotation::CLOCK_WISE_180: in ToLibyuvRotationMode()
28 case Rotation::CLOCK_WISE_270: in ToLibyuvRotationMode()
46 Rotation ReverseRotation(Rotation rotation) { in ReverseRotation()
48 case Rotation::CLOCK_WISE_0: in ReverseRotation()
50 case Rotation::CLOCK_WISE_90: in ReverseRotation()
58 return Rotation::CLOCK_WISE_0; in ReverseRotation()
63 case Rotation::CLOCK_WISE_0: in RotateSize()
66 case Rotation::CLOCK_WISE_90: in RotateSize()
[all …]
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/modules/desktop_capture/
H A Ddesktop_frame_rotation.cc22 case Rotation::CLOCK_WISE_0: in ToLibyuvRotationMode()
24 case Rotation::CLOCK_WISE_90: in ToLibyuvRotationMode()
26 case Rotation::CLOCK_WISE_180: in ToLibyuvRotationMode()
28 case Rotation::CLOCK_WISE_270: in ToLibyuvRotationMode()
46 Rotation ReverseRotation(Rotation rotation) { in ReverseRotation()
48 case Rotation::CLOCK_WISE_0: in ReverseRotation()
50 case Rotation::CLOCK_WISE_90: in ReverseRotation()
58 return Rotation::CLOCK_WISE_0; in ReverseRotation()
63 case Rotation::CLOCK_WISE_0: in RotateSize()
66 case Rotation::CLOCK_WISE_90: in RotateSize()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/modules/desktop_capture/
H A Ddesktop_frame_rotation.cc24 case Rotation::CLOCK_WISE_0: in ToLibyuvRotationMode()
26 case Rotation::CLOCK_WISE_90: in ToLibyuvRotationMode()
28 case Rotation::CLOCK_WISE_180: in ToLibyuvRotationMode()
30 case Rotation::CLOCK_WISE_270: in ToLibyuvRotationMode()
48 Rotation ReverseRotation(Rotation rotation) { in ReverseRotation()
50 case Rotation::CLOCK_WISE_0: in ReverseRotation()
52 case Rotation::CLOCK_WISE_90: in ReverseRotation()
60 return Rotation::CLOCK_WISE_0; in ReverseRotation()
65 case Rotation::CLOCK_WISE_0: in RotateSize()
68 case Rotation::CLOCK_WISE_90: in RotateSize()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/desktop_capture/
H A Ddesktop_frame_rotation.cc24 case Rotation::CLOCK_WISE_0: in ToLibyuvRotationMode()
26 case Rotation::CLOCK_WISE_90: in ToLibyuvRotationMode()
28 case Rotation::CLOCK_WISE_180: in ToLibyuvRotationMode()
30 case Rotation::CLOCK_WISE_270: in ToLibyuvRotationMode()
48 Rotation ReverseRotation(Rotation rotation) { in ReverseRotation()
50 case Rotation::CLOCK_WISE_0: in ReverseRotation()
52 case Rotation::CLOCK_WISE_90: in ReverseRotation()
60 return Rotation::CLOCK_WISE_0; in ReverseRotation()
65 case Rotation::CLOCK_WISE_0: in RotateSize()
68 case Rotation::CLOCK_WISE_90: in RotateSize()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/modules/desktop_capture/
H A Ddesktop_frame_rotation.cc24 case Rotation::CLOCK_WISE_0: in ToLibyuvRotationMode()
26 case Rotation::CLOCK_WISE_90: in ToLibyuvRotationMode()
28 case Rotation::CLOCK_WISE_180: in ToLibyuvRotationMode()
30 case Rotation::CLOCK_WISE_270: in ToLibyuvRotationMode()
48 Rotation ReverseRotation(Rotation rotation) { in ReverseRotation()
50 case Rotation::CLOCK_WISE_0: in ReverseRotation()
52 case Rotation::CLOCK_WISE_90: in ReverseRotation()
60 return Rotation::CLOCK_WISE_0; in ReverseRotation()
65 case Rotation::CLOCK_WISE_0: in RotateSize()
68 case Rotation::CLOCK_WISE_90: in RotateSize()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/modules/desktop_capture/
H A Ddesktop_frame_rotation.cc24 case Rotation::CLOCK_WISE_0: in ToLibyuvRotationMode()
26 case Rotation::CLOCK_WISE_90: in ToLibyuvRotationMode()
28 case Rotation::CLOCK_WISE_180: in ToLibyuvRotationMode()
30 case Rotation::CLOCK_WISE_270: in ToLibyuvRotationMode()
48 Rotation ReverseRotation(Rotation rotation) { in ReverseRotation()
50 case Rotation::CLOCK_WISE_0: in ReverseRotation()
52 case Rotation::CLOCK_WISE_90: in ReverseRotation()
60 return Rotation::CLOCK_WISE_0; in ReverseRotation()
65 case Rotation::CLOCK_WISE_0: in RotateSize()
68 case Rotation::CLOCK_WISE_90: in RotateSize()
[all …]
/dports/games/freedoko/FreeDoko_0.7.19/src/ui/gtkmm/widgets/
H A Dscaled_pixbuf_rotations.cpp141 case Rotation::up: in get_width()
142 case Rotation::down: in get_width()
144 case Rotation::left: in get_width()
162 case Rotation::up: in get_height()
163 case Rotation::down: in get_height()
165 case Rotation::left: in get_height()
183 case Rotation::up: in get_orig_width()
184 case Rotation::down: in get_orig_width()
186 case Rotation::left: in get_orig_width()
204 case Rotation::up: in get_orig_height()
[all …]
H A Dpixbuf_rotations.cpp155 case Rotation::up: in width()
156 case Rotation::down: in width()
158 case Rotation::left: in width()
159 case Rotation::right: in width()
176 case Rotation::up: in height()
177 case Rotation::down: in height()
179 case Rotation::left: in height()
180 case Rotation::right: in height()
197 case Rotation::up: in create_rotation()
200 case Rotation::down: in create_rotation()
[all …]
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/test/java/org/apache/commons/math3/geometry/euclidean/threed/
H A DRotationTest.java33 Rotation r = Rotation.IDENTITY; in testIdentity()
57 Rotation r = new Rotation(new Vector3D(10, 10, 10), 2 * FastMath.PI / 3); in testAxisAngleDeprecated()
151 Rotation r = new Rotation(0.001, 0.36, 0.48, 0.8, true); in testRevertDeprecated()
164 Rotation r = new Rotation(0.001, 0.36, 0.48, 0.8, true); in testRevertVectorOperator()
177 Rotation r = new Rotation(0.001, 0.36, 0.48, 0.8, true); in testRevertFrameTransform()
193 Rotation r = new Rotation(u, v); in testVectorOnePair()
214 Rotation r = new Rotation(u1, u2, v1, v2); in testVectorTwoPairs()
314 Rotation r = new Rotation(m1, 1.0e-7); in testMatrix()
426 Rotation r = new Rotation(EulerOrders[i],
535 Rotation r2 = new Rotation(n * r1.getQ0(), n * r1.getQ1(),
[all …]
/dports/science/py-scipy/scipy-1.7.1/scipy/spatial/transform/tests/
H A Dtest_rotation.py15 r = Rotation.from_quat(x)
22 r = Rotation.from_quat(x)
29 r = Rotation.from_quat(x)
42 r = Rotation.from_quat(x)
54 Rotation.from_quat(np.array([
67 Rotation.from_quat(x)
281 Rotation.from_rotvec([
372 Rotation.from_mrp([1, 2])
377 Rotation.from_mrp([
924 r = Rotation.from_matrix(mat)
[all …]
/dports/science/simbody/simbody-Simbody-3.7/SimTKcommon/tests/
H A DOrientationTest.cpp98 Rotation r1(q1); in quatTest()
102 Rotation r2(q3); in quatTest()
157 Rotation R; in main()
165 R = Rotation( u, ZAxis ); in main()
196 Rotation rx( 0.1, XAxis ); in main()
197 Rotation ry( 0.17, YAxis ); in main()
219 Rotation invr123(~r123); in main()
220 Rotation invr123eq; in main()
236 Rotation aboutXaboutZ = Rotation(-0.22, aboutZ*Vec3(1,0,0)) * aboutZ; in main()
298 Rotation Rtmp; in main()
[all …]
/dports/games/freedoko/FreeDoko_0.7.19/src/ui/gtkmm/
H A Dcards.h61 int width_original(Rotation rotation = Rotation::up) const;
63 int height_original(Rotation rotation = Rotation::up) const;
65 int width(Rotation rotation = Rotation::up) const;
67 int height(Rotation rotation = Rotation::up) const;
70 Gdk::ScaledPixbuf& back(Rotation rotation = Rotation::up);
72 Gdk::ScaledPixbuf& card(Card const& card, Rotation rotation = Rotation::up);
74 Glib::RefPtr<Gdk::Pixbuf> const& back_original(Rotation rotation = Rotation::up);
77 Rotation rotation = Rotation::up);
/dports/science/py-scipy/scipy-1.7.1/scipy/spatial/transform/
H A Drotation.pyi11 class Rotation:
17 def from_quat(cls, quat: npt.ArrayLike) -> Rotation: ...
19 def from_matrix(cls, matrix: npt.ArrayLike) -> Rotation: ...
21 def from_rotvec(cls, rotvec: npt.ArrayLike) -> Rotation: ...
25 def from_mrp(cls, mrp: npt.ArrayLike) -> Rotation: ...
32 def __mul__(self, other: Rotation) -> Rotation: ...
33 def inv(self) -> Rotation: ...
36 def reduce(self, left: Optional[Rotation] = ..., right: Optional[Rotation] = ...,
37 … return_indices: bool = ...) -> Union[Rotation, Tuple[Rotation, np.ndarray, np.ndarray]]: ...
51 …return_sensitivity: bool = ...) -> Union[Tuple[Rotation, float], Tuple[Rotation, float, np.ndarray…
[all …]
/dports/java/jcommon/jcommon-1.0.23/src/main/java/org/jfree/util/
H A DRotation.java54 public final class Rotation implements Serializable { class
60 public static final Rotation CLOCKWISE
61 = new Rotation("Rotation.CLOCKWISE", -1.0);
64 public static final Rotation ANTICLOCKWISE
65 = new Rotation("Rotation.ANTICLOCKWISE", 1.0);
118 if (!(o instanceof Rotation)) { in equals()
122 final Rotation rotation = (Rotation) o; in equals()
149 if (this.equals(Rotation.CLOCKWISE)) { in readResolve()
150 return Rotation.CLOCKWISE; in readResolve()
152 else if (this.equals(Rotation.ANTICLOCKWISE)) { in readResolve()
[all …]
/dports/science/clipper/clipper-2.1/clipper/core/
H A Drotation.h56 class Rotation; variable
79 Euler( const Rotation& rot );
81 Rotation rotation() const;
145 class Rotation {
148 Rotation() {} in Rotation() function
157 explicit Rotation( const Mat33<>& matrix );
171 const Rotation& norm();
175 Rotation inverse() const { return Rotation( w_, -x_, -y_, -z_ ); } in inverse()
177 static Rotation zero() { return Rotation( 1.0, 0.0, 0.0, 0.0 ); } in zero()
179 static Rotation null() { return Rotation( Util::nan(), 0.0, 0.0, 0.0 ); } in null()
[all …]
/dports/misc/usd/USD-21.11/pxr/base/gf/testenv/
H A DtestGfRotation.py34 self.assertIsInstance(Gf.Rotation(), Gf.Rotation)
35 self.assertIsInstance(Gf.Rotation(Gf.Vec3d(), 0), Gf.Rotation)
36 self.assertIsInstance(Gf.Rotation(Gf.Quaternion()), Gf.Rotation)
37 self.assertIsInstance(Gf.Rotation(Gf.Vec3d(), Gf.Vec3d()), Gf.Rotation)
39 r = Gf.Rotation()
45 r = Gf.Rotation().SetQuaternion(q)
69 r = Gf.Rotation().SetQuaternion(q)
80 r = Gf.Rotation(Gf.Vec3d(1,1,1), 30)
86 r = Gf.Rotation(Gf.Vec3d(1,0,0), 30)
89 r = Gf.Rotation(Gf.Vec3d(1,0,0), 30)
[all …]
/dports/textproc/fop/fop-2.6/fop-core/src/main/java/org/apache/fop/afp/modca/
H A DAxisOrientation.java30 RIGHT_HANDED_0(Rotation.ROTATION_0, Rotation.ROTATION_90),
31 RIGHT_HANDED_90(Rotation.ROTATION_90, Rotation.ROTATION_180),
32 RIGHT_HANDED_180(Rotation.ROTATION_180, Rotation.ROTATION_270),
33 RIGHT_HANDED_270(Rotation.ROTATION_270, Rotation.ROTATION_0);
38 private final Rotation xoaOrent;
42 private final Rotation yoaOrent;
49 private AxisOrientation(Rotation xoaOrent, Rotation yoaOrent) { in AxisOrientation()

12345678910>>...182