/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/include/reactphysics3d/mathematics/ |
H A D | Transform.h | 219 …const decimal prodX = mOrientation.w * transform2.mPosition.x + mOrientation.y * transform2.mPosit… 221 …const decimal prodY = mOrientation.w * transform2.mPosition.y + mOrientation.z * transform2.mPosit… 223 …const decimal prodZ = mOrientation.w * transform2.mPosition.z + mOrientation.x * transform2.mPosit… 225 …const decimal prodW = -mOrientation.x * transform2.mPosition.x - mOrientation.y * transform2.mPosi… 232 … + mOrientation.y * transform2.mOrientation.z - mOrientation.z * transform2.mOrientation.y, 233 … mOrientation.w * transform2.mOrientation.y + transform2.mOrientation.w * mOrientation.y 234 … + mOrientation.z * transform2.mOrientation.x - mOrientation.x * transform2.mOrientation.z, 235 … mOrientation.w * transform2.mOrientation.z + transform2.mOrientation.w * mOrientation.z 237 … mOrientation.w * transform2.mOrientation.w - mOrientation.x * transform2.mOrientation.x 243 return (mPosition == transform2.mPosition) && (mOrientation == transform2.mOrientation); [all …]
|
/dports/math/fcl05/fcl-0.5.0/test/ |
H A D | test_fcl_capsule_capsule.cpp | 59 Transform3f transform2; in BOOST_AUTO_TEST_CASE() local 60 transform2 = Transform3f(Vec3f(20.1, 0,0)); in BOOST_AUTO_TEST_CASE() 65 …res = solver.shapeDistance<Capsule, Capsule>(s1, transform, s2, transform2, &dist, &closest_p1, &c… in BOOST_AUTO_TEST_CASE() 85 Transform3f transform2; in BOOST_AUTO_TEST_CASE() local 86 transform2 = Transform3f(Vec3f(20, 20,0)); in BOOST_AUTO_TEST_CASE() 91 …res = solver.shapeDistance<Capsule, Capsule>(s1, transform, s2, transform2, &dist, &closest_p1, &c… in BOOST_AUTO_TEST_CASE() 111 Transform3f transform2; in BOOST_AUTO_TEST_CASE() local 112 transform2 = Transform3f(Vec3f(0,0,20.1)); in BOOST_AUTO_TEST_CASE() 138 Transform3f transform2; in BOOST_AUTO_TEST_CASE() local 139 transform2 = Transform3f(Vec3f(0,0,25.1)); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/graphics/p5-Imager/Imager-1.012/t/300-transform/ |
H A D | 600-trans2.t | 20 my $im3 = Imager::transform2($opts); 25 my $im4 = Imager::transform2({ 36 my $im5 = Imager::transform2({ 49 my $im6 = Imager::transform2($opts,$im1,$im2); 64 my $im8 = Imager::transform2($opts); 72 my $im9 = Imager::transform2($opts, $im1); 150 ok(!Imager::transform2({ rpnexpr => "x y getp1" }, $good, $empty), 175 my $im7 = Imager::transform2({rpnexpr=>'x y getp2', width=>100, height=>100}); 187 my $out = Imager::transform2({ rpnexpr => $code }, $im);
|
/dports/audio/rhvoice/RHVoice-1.2.4/src/third-party/cldr/tools/java/org/unicode/cldr/draft/keyboard/test/ |
H A D | TransformTest.java | 17 Transform transform2 = Transform.of("^e", "ê"); in testEqualsTrue() local 19 assertTrue("", transform1.equals(transform2)); in testEqualsTrue() 20 assertTrue("", transform1.hashCode() == transform2.hashCode()); in testEqualsTrue() 25 Transform transform2 = Transform.of("e^", "ê"); in testEqualsFalse() local 27 assertFalse("", transform1.equals(transform2)); in testEqualsFalse() 28 assertFalse("", transform1.hashCode() == transform2.hashCode()); in testEqualsFalse()
|
/dports/science/simbody/simbody-Simbody-3.7/SimTKmath/Geometry/include/simmath/internal/ |
H A D | CollisionDetectionAlgorithm.h | 72 const Transform& transform2, 121 const Transform& transform2, 137 const Transform& transform2, 152 const Transform& transform2, 168 const Transform& transform2, 191 const Transform& transform2, 212 const Transform& transform2, 246 const Transform& transform2, 256 const Transform& transform1, const Transform& transform2,
|
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/test/tests/mathematics/ |
H A D | TestTransform.h | 91 Transform transform2(Vector3(4, 5, 6), Matrix3x3(1, 0, 0, 0, 1, 0, 0, 0, 1)); in testConstructors() 95 rp3d_test(transform2.getPosition() == Vector3(4, 5, 6)); in testConstructors() 96 rp3d_test(transform2.getOrientation() == Quaternion::identity()); in testConstructors() 170 Transform transform2(Vector3(8, 11, 16), Quaternion(sinA, sinA, sinA, cosA)); in testInterpolateTransform() 171 Transform transform = Transform::interpolateTransforms(transform1, transform2, 0.5); in testInterpolateTransform() 189 Transform transform2(Vector3(5, 6, 2), Quaternion(3, 5, 1, 6)); in testIdentity() 190 transform2.setToIdentity(); in testIdentity() 191 rp3d_test(transform2.getPosition() == Vector3(0, 0, 0)); in testIdentity() 192 rp3d_test(transform2.getOrientation() == Quaternion::identity()); in testIdentity()
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/examples/osgvirtualprogram/ |
H A D | CreateSimpleHierachy.cpp | 28 osg::MatrixTransform * transform2 = new osg::MatrixTransform( ); in CreateSimpleHierarchy() local 29 transform2->setMatrix( osg::Matrix::translate( -r,0,-r ) ); in CreateSimpleHierarchy() 37 group->addChild( transform2 ); in CreateSimpleHierarchy() 42 transform2->addChild( node ); in CreateSimpleHierarchy() 122 transform2->getOrCreateStateSet( )->setAttribute( virtualProgram ); in CreateSimpleHierarchy()
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/examples/osgvirtualprogram/ |
H A D | CreateSimpleHierachy.cpp | 28 osg::MatrixTransform * transform2 = new osg::MatrixTransform( ); in CreateSimpleHierarchy() local 29 transform2->setMatrix( osg::Matrix::translate( -r,0,-r ) ); in CreateSimpleHierarchy() 37 group->addChild( transform2 ); in CreateSimpleHierarchy() 42 transform2->addChild( node ); in CreateSimpleHierarchy() 122 transform2->getOrCreateStateSet( )->setAttribute( virtualProgram ); in CreateSimpleHierarchy()
|
/dports/graphics/blender/blender-2.91.0/intern/rigidbody/ |
H A D | rb_bullet_api.cpp | 993 btTransform transform2; in RB_constraint_new_fixed() local 1010 btTransform transform2; in RB_constraint_new_hinge() local 1027 btTransform transform2; in RB_constraint_new_slider() local 1044 btTransform transform2; in RB_constraint_new_piston() local 1062 btTransform transform2; in RB_constraint_new_6dof() local 1067 *body1, *body2, transform1, transform2, true); in RB_constraint_new_6dof() 1080 btTransform transform2; in RB_constraint_new_6dof_spring() local 1085 *body1, *body2, transform1, transform2, true); in RB_constraint_new_6dof_spring() 1098 btTransform transform2; in RB_constraint_new_6dof_spring2() local 1103 *body1, *body2, transform1, transform2); in RB_constraint_new_6dof_spring2() [all …]
|
/dports/science/InsightToolkit/ITK-5.0.1/Examples/Filtering/ |
H A D | SpatialObjectToImage2.cxx | 205 TransformType::Pointer transform2 = TransformType::New(); in main() local 209 transform2->SetIdentity(); in main() 231 transform2->Rotate( 1, 2, itk::Math::pi / 2.0 ); in main() 232 transform2->Translate( translation, false ); in main() 239 metaBall2->SetObjectToParentTransform( transform2 ); in main()
|
H A D | SpatialObjectToImage1.cxx | 237 TransformType::Pointer transform2 = TransformType::New(); in main() local 241 transform2->SetIdentity(); in main() 263 transform2->Rotate( 1, 2, itk::Math::pi / 2.0 ); in main() 264 transform2->Translate( translation, false ); in main() 271 tube1->SetObjectToParentTransform( transform2 ); in main()
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/testsuite/gsk/ |
H A D | diff.c | 55 GskRenderNode *transform1, *transform2, *transform3, *transform4; in test_can_diff_transform() local 66 transform2 = gsk_transform_node_new (color2, t1); in test_can_diff_transform() 71 g_assert_true (gsk_render_node_can_diff (transform1, transform2)); in test_can_diff_transform() 81 gsk_render_node_unref (transform2); in test_can_diff_transform()
|
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/src/collision/narrowphase/ |
H A D | SphereVsSphereAlgorithm.cpp | 46 const Transform& transform2 = narrowPhaseInfoBatch.shape2ToWorldTransforms[batchIndex]; in testCollision() local 49 Vector3 vectorBetweenCenters = transform2.getPosition() - transform1.getPosition(); in testCollision() 65 const Transform transform2Inverse = transform2.getInverse(); in testCollision() 75 … Vector3 centerSphere2InBody1LocalSpace = transform1Inverse * transform2.getPosition(); in testCollision()
|
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/core/ |
H A D | PixelBits.cpp | 246 const Transform &transform1, const Transform &transform2) const { in test_collision() 247 if(transform1.aligned() && transform2.aligned()) { in test_collision() 248 return test_aligned_collision(other,transform1.position,transform2.position); in test_collision() 250 return test_oriented_collision(other,transform1,transform2); in test_collision() 263 const Transform& transform2) const { in test_oriented_collision() 264 if(!transform1.obb_intersect(Size(width,height),transform2,Size(other.width,other.height))) { in test_oriented_collision() 268 transform1.compute_collision_data(transform2,origin,vx,vy); in test_oriented_collision()
|
/dports/devel/simgear/simgear-2020.3.11/simgear/bvh/ |
H A D | bvhtest.cxx | 78 SGSharedPtr<BVHTransform> transform2 = new BVHTransform; in testLineIntersections() local 79 transform2->setToLocalTransform(matrix); in testLineIntersections() 80 transform2->addChild(transform1); in testLineIntersections() 84 transform2->accept(lineSegmentVisitor); in testLineIntersections()
|
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/src/constraint/ |
H A D | SliderJoint.cpp | 47 …const Transform& transform2 = mWorld.mTransformComponents.getTransform(jointInfo.body2->getEntity(… in SliderJoint() local 49 …mWorld.mSliderJointsComponents.setLocalAnchorPointBody2(mEntity, transform2.getInverse() * jointIn… in SliderJoint() 63 …mWorld.mSliderJointsComponents.setInitOrientationDifferenceInv(mEntity, transform2.getOrientation(… in SliderJoint() 119 const Transform& transform2 = mWorld.mTransformComponents.getTransform(body2Entity); in getTranslation() local 122 const Vector3& x2 = transform2.getPosition(); in getTranslation() 124 const Quaternion& q2 = transform2.getOrientation(); in getTranslation()
|
H A D | FixedJoint.cpp | 40 …const Transform& transform2 = mWorld.mTransformComponents.getTransform(jointInfo.body2->getEntity(… in FixedJoint() local 43 …mWorld.mFixedJointsComponents.setLocalAnchorPointBody2(mEntity, transform2.getInverse() * jointInf… in FixedJoint() 56 …mWorld.mFixedJointsComponents.setInitOrientationDifferenceInv(mEntity, transform2.getOrientation()… in FixedJoint()
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Core/Transform/test/ |
H A D | itkCenteredRigid2DTransformTest.cxx | 138 CenteredRigidTransformType::Pointer transform2 = CenteredRigidTransformType::New(); in itkCenteredRigid2DTransformTest() local 140 transform2->SetAngle( a ); in itkCenteredRigid2DTransformTest() 145 transform2->SetCenter( c ); in itkCenteredRigid2DTransformTest() 150 transform2->SetTranslation( t ); in itkCenteredRigid2DTransformTest() 158 transform2->TransformPoint( p1 ); in itkCenteredRigid2DTransformTest() 162 transform2->CloneInverseTo( inverse ); in itkCenteredRigid2DTransformTest() 191 = dynamic_cast<CenteredRigidTransformType *>(transform2->GetInverseTransform().GetPointer() ); in itkCenteredRigid2DTransformTest()
|
/dports/graphics/p5-Imager/Imager-1.012/samples/ |
H A D | anaglyph.pl | 65 my $out = Imager::transform2 ({ rpnexpr=>$expr, }, $left, $right) 81 return Imager::transform2({ rpnexpr=>$expr }, $left, $right); 104 return Imager::transform2({ rpnexpr=>$expr }, $left, $right);
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/ |
H A D | gtkcsstransformvalue.c | 313 const GtkCssTransform *transform2) in gtk_css_transform_equal() argument 315 if (transform1->type != transform2->type) in gtk_css_transform_equal() 321 return transform1->matrix.matrix.xx == transform2->matrix.matrix.xx in gtk_css_transform_equal() 322 && transform1->matrix.matrix.xy == transform2->matrix.matrix.xy in gtk_css_transform_equal() 323 && transform1->matrix.matrix.yx == transform2->matrix.matrix.yx in gtk_css_transform_equal() 324 && transform1->matrix.matrix.yy == transform2->matrix.matrix.yy in gtk_css_transform_equal() 325 && transform1->matrix.matrix.x0 == transform2->matrix.matrix.x0 in gtk_css_transform_equal() 326 && transform1->matrix.matrix.y0 == transform2->matrix.matrix.y0; in gtk_css_transform_equal() 333 return _gtk_css_value_equal (transform1->scale.x, transform2->scale.x) in gtk_css_transform_equal() 336 return _gtk_css_value_equal (transform1->skew.x, transform2->skew.x) in gtk_css_transform_equal() [all …]
|
/dports/x11-toolkits/p5-Prima/Prima-1.63/win32/ |
H A D | region.c | 455 rr. left += sys transform2. x; in apc_gp_get_clip_rect() 456 rr. right += sys transform2. x; in apc_gp_get_clip_rect() 457 rr. top -= sys transform2. y; in apc_gp_get_clip_rect() 458 rr. bottom -= sys transform2. y; in apc_gp_get_clip_rect() 470 c. left -= sys transform2. x; in apc_gp_set_clip_rect() 471 c. right -= sys transform2. x; in apc_gp_set_clip_rect() 472 c. top += sys transform2. y; in apc_gp_set_clip_rect() 473 c. bottom += sys transform2. y; in apc_gp_set_clip_rect() 513 OffsetRgn( rgn, sys transform2. x, sys transform2. y - rect.top); in apc_gp_get_region() 532 OffsetRgn( rgn, -sys transform2. x, -sys transform2. y); in apc_gp_set_region()
|
/dports/math/vtk9/VTK-9.1.0/Filters/Modeling/Testing/Cxx/ |
H A D | UnitTestCollisionDetectionFilter.cxx | 103 vtkSmartPointer<vtkTransform> transform2 = vtkSmartPointer<vtkTransform>::New(); in UnitTestCollisionDetectionFilter() local 109 collision->SetMatrix(111, transform2->GetMatrix()); in UnitTestCollisionDetectionFilter() 116 collision->SetTransform(0, transform2); in UnitTestCollisionDetectionFilter() 118 collision->SetTransform(1, transform2); in UnitTestCollisionDetectionFilter()
|
/dports/math/vtk6/VTK-6.2.0/Filters/Hybrid/Testing/Tcl/ |
H A D | TestProcrustes.tcl | 12 vtkTransform transform2 13 transform2 Translate 0.3 0.7 0.1 14 transform2 Scale 1.0 0.1 1.8 22 transformer2 SetTransform transform2
|
H A D | TestProcrustesRigidCentroid.tcl | 12 vtkTransform transform2 13 transform2 Translate 0.3 0.7 0.1 14 transform2 Scale 1.0 0.1 1.8 22 transformer2 SetTransform transform2
|
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/src/collision/narrowphase/GJK/ |
H A D | GJKAlgorithm.cpp | 75 const Transform& transform2 = narrowPhaseInfoBatch.shape2ToWorldTransforms[batchIndex]; in testCollision() local 80 Transform body2Tobody1 = transform1Inverse * transform2; in testCollision() 84 … Quaternion rotateToBody2 = transform2.getOrientation().getInverse() * transform1.getOrientation(); in testCollision() 221 … TriangleShape::computeSmoothTriangleMeshContact(shape1, shape2, pA, pB, transform1, transform2, in testCollision()
|