Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / CollisionDetection2D Class / CollisionDetection2D Constructor / CollisionDetection2D Constructor(IList<Entity>,BlockKeyedCollection,Boolean,collisionCheckType,Int32)
the entity group to check each other
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

In This Topic
    CollisionDetection2D Constructor(IList<Entity>,BlockKeyedCollection,Boolean,collisionCheckType,Int32)
    In This Topic
    The Collision detection utility constructor with a list of entity. The collision test checks collisions among the entities of the same list (all to all check).
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal list As IList(Of Entity), _
       ByVal blocksCollection As BlockKeyedCollection, _
       Optional ByVal firstOnly As Boolean, _
       Optional ByVal collisionCheckMethod As CollisionDetection2D.collisionCheckType, _
       Optional ByVal maxTrianglesNumForOctreeNode As Integer _
    )

    Parameters

    list
    the entity group to check each other
    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
    collisionCheckMethod
    the collision accuracy type
    maxTrianglesNumForOctreeNode
    the maximum number of triangles for each Octant of each entity's octree
    See Also