/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/qa/libs/kimath/geometry/ |
H A D | test_shape_compound_collision.cpp | 99 BOOST_CHECK( shapesA[0]->Collide( compoundB, 0 ) ); in BOOST_FIXTURE_TEST_SUITE() 100 BOOST_CHECK( shapesA[1]->Collide( compoundB, 0 ) ); in BOOST_FIXTURE_TEST_SUITE() 101 BOOST_CHECK( compoundB->Collide( shapesA[0], 0 ) ); in BOOST_FIXTURE_TEST_SUITE() 102 BOOST_CHECK( compoundB->Collide( shapesA[1], 0 ) ); in BOOST_FIXTURE_TEST_SUITE() 104 BOOST_CHECK( shapesB[0]->Collide( compoundA, 0 ) ); in BOOST_FIXTURE_TEST_SUITE() 105 BOOST_CHECK( shapesB[1]->Collide( compoundA, 0 ) ); in BOOST_FIXTURE_TEST_SUITE() 106 BOOST_CHECK( compoundA->Collide( shapesB[0], 0 ) ); in BOOST_FIXTURE_TEST_SUITE() 107 BOOST_CHECK( compoundA->Collide( shapesB[1], 0 ) ); in BOOST_FIXTURE_TEST_SUITE() 109 BOOST_CHECK( ! shapesC[0]->Collide( compoundA, 0 ) ); in BOOST_FIXTURE_TEST_SUITE() 110 BOOST_CHECK( ! shapesC[1]->Collide( compoundA, 0 ) ); in BOOST_FIXTURE_TEST_SUITE() [all …]
|
H A D | test_shape_poly_set_collision.cpp | 178 BOOST_AUTO_TEST_CASE( Collide ) in BOOST_AUTO_TEST_CASE() argument 189 BOOST_CHECK( common.holeyPolySet.Collide( point, 0 ) ); in BOOST_AUTO_TEST_CASE() 199 BOOST_CHECK( !common.holeyPolySet.Collide( point, 0 ) ); in BOOST_AUTO_TEST_CASE() 205 BOOST_CHECK( common.holeyPolySet.Collide( VECTOR2I( -1, 10 ), 5 ) ); in BOOST_AUTO_TEST_CASE() 208 BOOST_CHECK( common.holeyPolySet.Collide( VECTOR2I( 11, 11 ), 5 ) ); in BOOST_AUTO_TEST_CASE() 260 BOOST_CHECK( common.holeyPolySet.Collide( seg, 0, nullptr, &location ) == expectedResult ); in BOOST_AUTO_TEST_CASE()
|
H A D | test_shape_arc.cpp | 608 BOOST_CHECK_EQUAL( arc.Collide( c.m_point, c.m_arc_clearance, &dist ), in BOOST_AUTO_TEST_CASE() 618 BOOST_CHECK_EQUAL( arc.Collide( c.m_point, 0, &dist ), c.m_exp_result ); in BOOST_AUTO_TEST_CASE() 673 BOOST_CHECK_EQUAL( arc.Collide( c.m_seg, c.m_arc_clearance, &dist ), in BOOST_AUTO_TEST_CASE() 683 BOOST_CHECK_EQUAL( arc.Collide( c.m_seg, 0, &dist ), c.m_exp_result ); in BOOST_AUTO_TEST_CASE() 834 arc1_sh->Collide( arc2_slc_sh, clearance, &actual, &location ); in BOOST_AUTO_TEST_CASE() 838 arc1_slc_sh->Collide( arc2_sh, clearance, &actual, &location ); in BOOST_AUTO_TEST_CASE() 842 arc1_slc_sh->Collide( arc2_slc_sh, clearance, &actual, &location ); in BOOST_AUTO_TEST_CASE() 870 BOOST_CHECK_EQUAL( arc_sh->Collide( &lc, 100000 ), true ); in BOOST_AUTO_TEST_CASE() 871 BOOST_CHECK_EQUAL( lc_sh->Collide( &arc, 100000 ), true ); in BOOST_AUTO_TEST_CASE() 874 BOOST_CHECK_EQUAL( arc.Collide( seg, 0 ), true ); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/cad/horizon-eda/horizon-2.1.0/3rd_party/router/common/geometry/ |
H A D | shape_collisions.cpp | 157 if( aA.Collide( aB.CSegment( s ), aClearance ) ) in Collide() 225 if( aA.Collide( aB.CSegment( i ), aClearance ) ) in Collide() 253 if( aA.Collide( seg, aClearance ) ) in Collide() 315 bool rv = Collide( aB, lc, aClearance, aNeedMTV, aMTV ); in Collide() 327 return Collide( lc, aB, aClearance, aNeedMTV, aMTV ); in Collide() 334 return Collide( lc, aB, aClearance, aNeedMTV, aMTV ); in Collide() 349 return Collide( lcA, lcB, aClearance, aNeedMTV, aMTV ); in Collide() 355 return Collide (*static_cast<const ShapeAType*>( aA ), in CollCase() 363 bool rv = Collide (*static_cast<const ShapeBType*>( aB ), in CollCaseReversed() 551 bool SHAPE::Collide( const SHAPE* aShape, int aClearance ) const in Collide() function in SHAPE [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/tests/ |
H A D | test-201.cs | 4 private Collide Collide; field in Parent 11 public readonly Collide Test; 15 Test = Collide.Die; in Nested() 20 public class Collide class 22 public Collide (int a) in Collide() method in Collide 28 public static readonly Collide Die = new Collide (5);
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/libs/kimath/src/geometry/ |
H A D | shape_collisions.cpp | 69 static inline bool Collide( const SHAPE_RECT& aA, const SHAPE_CIRCLE& aB, int aClearance, in Collide() function 174 static inline bool Collide( const SHAPE_CIRCLE& aA, const SHAPE_LINE_CHAIN_BASE& aB, in Collide() function 209 if( aA.Collide( aB.GetSegment( s ), aClearance, in Collide() 320 if( aA.Collide( aB.GetSegment( i ), aClearance, in Collide() 350 if( arc.Collide( &aA, aClearance, aActual, aLocation ) ) in Collide() 393 if( aA.Collide( aB.GetSegment( s ), aClearance, in Collide() 545 if( aA.Collide( aB.GetSegment( i ), aClearance, in Collide() 571 if( arc.Collide( &aA, aClearance, aActual, aLocation ) ) in Collide() 631 if( aA.Collide( aB.GetSegment( i ), aClearance, in Collide() 759 return Collide( *static_cast<const T_a*>( aA ), *static_cast<const T_b*>( aB ), in CollCase() [all …]
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/libs/kimath/include/geometry/ |
H A D | shape.h | 165 virtual bool Collide( const VECTOR2I& aP, int aClearance = 0, int* aActual = nullptr, 168 return Collide( SEG( aP, aP ), aClearance, aActual, aLocation ); 184 virtual bool Collide( const SHAPE* aShape, int aClearance, VECTOR2I* aMTV ) const; 186 virtual bool Collide( const SHAPE* aShape, int aClearance = 0, int* aActual = nullptr, 199 virtual bool Collide( const SEG& aSeg, int aClearance = 0, int* aActual = nullptr, 261 virtual bool Collide( const VECTOR2I& aP, int aClearance = 0, int* aActual = nullptr, 274 virtual bool Collide( const SEG& aSeg, int aClearance = 0, int* aActual = nullptr,
|
H A D | shape_segment.h | 67 bool Collide( const SHAPE* aShape, int aClearance, VECTOR2I* aMTV ) const override in Collide() function 69 return SHAPE::Collide( aShape, aClearance, aMTV ); in Collide() 72 bool Collide( const SHAPE* aShape, int aClearance = 0, int* aActual = nullptr, 75 return SHAPE::Collide( aShape, aClearance, aActual, aLocation ); 78 bool Collide( const SEG& aSeg, int aClearance = 0, int* aActual = nullptr, 82 return Collide( aSeg.A, aClearance, aActual, aLocation ); 101 bool Collide( const VECTOR2I& aP, int aClearance = 0, int* aActual = nullptr,
|
H A D | shape_compound.h | 54 bool Collide( const SEG& aSeg, int aClearance = 0, int* aActual = nullptr, 57 bool Collide( const SHAPE* aShape, int aClearance, VECTOR2I* aMTV ) const override in Collide() function 59 return SHAPE::Collide( aShape, aClearance, aMTV ); in Collide() 62 bool Collide( const SHAPE* aShape, int aClearance = 0, int* aActual = nullptr, 65 return SHAPE::Collide( aShape, aClearance, aActual, aLocation );
|
H A D | shape_rect.h | 98 bool Collide( const SHAPE* aShape, int aClearance, VECTOR2I* aMTV ) const override in Collide() function 100 return SHAPE::Collide( aShape, aClearance, aMTV ); in Collide() 103 bool Collide( const SHAPE* aShape, int aClearance = 0, int* aActual = nullptr, 106 return SHAPE::Collide( aShape, aClearance, aActual, aLocation ); 110 bool Collide( const SEG& aSeg, int aClearance = 0, int* aActual = nullptr,
|
/dports/cad/horizon-eda/horizon-2.1.0/3rd_party/router/include/geometry/ |
H A D | shape.h | 107 virtual bool Collide( const VECTOR2I& aP, int aClearance = 0 ) const 109 return Collide( SEG( aP, aP ), aClearance ); 122 virtual bool Collide( const SHAPE* aShape, int aClearance, VECTOR2I& aMTV ) const; 123 virtual bool Collide( const SHAPE* aShape, int aClearance = 0 ) const; 132 virtual bool Collide( const SEG& aSeg, int aClearance = 0 ) const = 0;
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/router/ |
H A D | pns_item.cpp | 95 if( holeA && holeA->Collide( shapeB, holeClearance + lineWidthB ) ) in collideSimple() 101 if( holeB && holeB->Collide( shapeA, holeClearance + lineWidthA ) ) in collideSimple() 111 if( holeA->Collide( holeB, holeToHoleClearance ) ) in collideSimple() 127 return shapeA->Collide( shapeB, clearance + lineWidthA + lineWidthB ); in collideSimple() 131 bool ITEM::Collide( const ITEM* aOther, const NODE* aNode, bool aDifferentNetsOnly ) const in Collide() function in PNS::ITEM
|
/dports/devel/bullet/bullet3-3.21/examples/DeformableDemo/ |
H A D | Collide.cpp | 41 class Collide : public CommonDeformableBodyBase class 46 Collide(struct GUIHelperInterface* helper) in Collide() function in Collide 51 virtual ~Collide() in ~Collide() 103 void Collide::initPhysics() in initPhysics() 222 void Collide::exitPhysics() in exitPhysics() 270 return new Collide(options.m_guiHelper); in CollideCreateFunc()
|
/dports/devel/py-bullet3/bullet3-3.21/examples/DeformableDemo/ |
H A D | Collide.cpp | 41 class Collide : public CommonDeformableBodyBase class 46 Collide(struct GUIHelperInterface* helper) in Collide() function in Collide 51 virtual ~Collide() in ~Collide() 103 void Collide::initPhysics() in initPhysics() 222 void Collide::exitPhysics() in exitPhysics() 270 return new Collide(options.m_guiHelper); in CollideCreateFunc()
|
/dports/games/irrlamb/irrlamb-1.0.1/src/OPCODE/ |
H A D | OPC_PlanesCollider.h | 53 …bool Collide(PlanesCache& cache, const Plane* planes, udword nb_planes, const Model& model, cons… 56 …inline_ bool Collide(PlanesCache& cache, const OBB& box, const Model& model, const Matrix4x4*… 75 return Collide(cache, PL, 6, model, worldm); 117 …bool Collide(PlanesCache& cache, const Plane* planes, udword nb_planes, const HybridModel& model…
|
H A D | OPC_TreeCollider.h | 93 bool Collide(BVTCache& cache, const Matrix4x4* world0=null, const Matrix4x4* world1=null); 96 …bool Collide(const AABBCollisionTree* tree0, const AABBCollisionTree* tree1, const Matrix4x4*… 97 …bool Collide(const AABBNoLeafTree* tree0, const AABBNoLeafTree* tree1, const Matrix4x4* worl… 98 …bool Collide(const AABBQuantizedTree* tree0, const AABBQuantizedTree* tree1, const Matrix4x4*… 99 …bool Collide(const AABBQuantizedNoLeafTree* tree0, const AABBQuantizedNoLeafTree* tree1, const M…
|
/dports/games/xray_re-tools/xray_re-tools-52721d2/sources/utils/converter/opcode/ |
H A D | OPC_PlanesCollider.h | 53 …bool Collide(PlanesCache& cache, const Plane* planes, udword nb_planes, const Model& model, cons… 56 …inline_ bool Collide(PlanesCache& cache, const OBB& box, const Model& model, const Matrix4x4*… 75 return Collide(cache, PL, 6, model, worldm); 116 …bool Collide(PlanesCache& cache, const Plane* planes, udword nb_planes, const HybridModel& model…
|
H A D | OPC_TreeCollider.h | 91 bool Collide(BVTCache& cache, const Matrix4x4* world0=null, const Matrix4x4* world1=null); 94 …bool Collide(const AABBCollisionTree* tree0, const AABBCollisionTree* tree1, const Matrix4x4*… 95 …bool Collide(const AABBNoLeafTree* tree0, const AABBNoLeafTree* tree1, const Matrix4x4* worl… 96 …bool Collide(const AABBQuantizedTree* tree0, const AABBQuantizedTree* tree1, const Matrix4x4*… 97 …bool Collide(const AABBQuantizedNoLeafTree* tree0, const AABBQuantizedNoLeafTree* tree1, const M…
|
/dports/games/alienarena/alienarena-7.66/source/unix/odesrc/OPCODE/ |
H A D | OPC_PlanesCollider.h | 53 …bool Collide(PlanesCache& cache, const Plane* planes, udword nb_planes, const Model& model, cons… 56 …inline_ bool Collide(PlanesCache& cache, const OBB& box, const Model& model, const Matrix4x4*… 75 return Collide(cache, PL, 6, model, worldm); 117 …bool Collide(PlanesCache& cache, const Plane* planes, udword nb_planes, const HybridModel& model…
|
H A D | OPC_TreeCollider.h | 93 bool Collide(BVTCache& cache, const Matrix4x4* world0=null, const Matrix4x4* world1=null); 96 …bool Collide(const AABBCollisionTree* tree0, const AABBCollisionTree* tree1, const Matrix4x4*… 97 …bool Collide(const AABBNoLeafTree* tree0, const AABBNoLeafTree* tree1, const Matrix4x4* worl… 98 …bool Collide(const AABBQuantizedTree* tree0, const AABBQuantizedTree* tree1, const Matrix4x4*… 99 …bool Collide(const AABBQuantizedNoLeafTree* tree0, const AABBQuantizedNoLeafTree* tree1, const M…
|
/dports/games/alienarena-data/alienarena-7.66/source/unix/odesrc/OPCODE/ |
H A D | OPC_PlanesCollider.h | 53 …bool Collide(PlanesCache& cache, const Plane* planes, udword nb_planes, const Model& model, cons… 56 …inline_ bool Collide(PlanesCache& cache, const OBB& box, const Model& model, const Matrix4x4*… 75 return Collide(cache, PL, 6, model, worldm); 117 …bool Collide(PlanesCache& cache, const Plane* planes, udword nb_planes, const HybridModel& model…
|
H A D | OPC_TreeCollider.h | 93 bool Collide(BVTCache& cache, const Matrix4x4* world0=null, const Matrix4x4* world1=null); 96 …bool Collide(const AABBCollisionTree* tree0, const AABBCollisionTree* tree1, const Matrix4x4*… 97 …bool Collide(const AABBNoLeafTree* tree0, const AABBNoLeafTree* tree1, const Matrix4x4* worl… 98 …bool Collide(const AABBQuantizedTree* tree0, const AABBQuantizedTree* tree1, const Matrix4x4*… 99 …bool Collide(const AABBQuantizedNoLeafTree* tree0, const AABBQuantizedNoLeafTree* tree1, const M…
|
/dports/devel/ode/ode-0.13/OPCODE/ |
H A D | OPC_PlanesCollider.h | 53 …bool Collide(PlanesCache& cache, const Plane* planes, udword nb_planes, const Model& model, cons… 56 …inline_ bool Collide(PlanesCache& cache, const OBB& box, const Model& model, const Matrix4x4*… 75 return Collide(cache, PL, 6, model, worldm); 117 …bool Collide(PlanesCache& cache, const Plane* planes, udword nb_planes, const HybridModel& model…
|
H A D | OPC_TreeCollider.h | 93 bool Collide(BVTCache& cache, const Matrix4x4* world0=null, const Matrix4x4* world1=null); 96 …bool Collide(const AABBCollisionTree* tree0, const AABBCollisionTree* tree1, const Matrix4x4*… 97 …bool Collide(const AABBNoLeafTree* tree0, const AABBNoLeafTree* tree1, const Matrix4x4* worl… 98 …bool Collide(const AABBQuantizedTree* tree0, const AABBQuantizedTree* tree1, const Matrix4x4*… 99 …bool Collide(const AABBQuantizedNoLeafTree* tree0, const AABBQuantizedNoLeafTree* tree1, const M…
|
/dports/games/alienarena/alienarena-7.66/source/unix/odesrc/ |
H A D | collision_quadtreespace.cpp | 58 void Collide(void* UserData, dNearCallback* Callback); 59 void Collide(dGeomID g1, dGeomID g2, void* UserData, dNearCallback* Callback); 168 void Block::Collide(void* UserData, dNearCallback* Callback){ in Collide() function in Block 176 Collide(g, g->next, UserData, Callback); in Collide() 187 Children[i].Collide(UserData, Callback); in Collide() 193 void Block::Collide(dxGeom* g1, dxGeom* g2, void* UserData, dNearCallback* Callback){ in Collide() function in Block 224 Children[i].Collide(g1, Children[i].First, UserData, Callback); in Collide() 551 Blocks[0].Collide(UserData, Callback); in collide() 582 CurrentBlock->Collide(g2, CurrentBlock->First, &dc, swap_callback); in collide2() 591 Blocks[0].Collide(g2, Blocks[0].First, &dc, swap_callback); in collide2()
|