Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / CollisionDetection2D Class / CollisionDetection2D Constructor / CollisionDetection2D Constructor(IList<Entity>,IList<Entity>,BlockKeyedCollection,Boolean,collisionCheckType,Int32)
first entity group
second entity group
the collection of the blocks that defines/contains the entities for the BlockReferences in the entities list
when true,the collision detection will stop at the first couple of intersecting entities found
the collision accuracy type
the maximum number of triangles for each Octant of each entity's octree (used only with Octree check methods)

In This Topic
    CollisionDetection2D Constructor(IList<Entity>,IList<Entity>,BlockKeyedCollection,Boolean,collisionCheckType,Int32)
    In This Topic
    The Collision detection utility constructor with two entity lists. The collision test checks collisions from the first entity list to the second one.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal list1 As IList(Of Entity), _
       ByVal list2 As IList(Of Entity), _
       ByVal blocksCollection As BlockKeyedCollection, _
       Optional ByVal firstOnly As Boolean, _
       Optional ByVal checkMethod As CollisionDetection2D.collisionCheckType, _
       Optional ByVal maxElemsNumForQuadTreeNode As Integer _
    )

    Parameters

    list1
    first entity group
    list2
    second entity group
    blocksCollection
    the collection of the blocks that defines/contains the entities for the BlockReferences in the entities list
    firstOnly
    when true,the collision detection will stop at the first couple of intersecting entities found
    checkMethod
    the collision accuracy type
    maxElemsNumForQuadTreeNode
    the maximum number of triangles for each Octant of each entity's octree (used only with Octree check methods)
    See Also