CollisionDetection.IntersectTree Method

Check intersection between Octrees of two root entities (the entities can be BlockReference), by using SAT algorithm.
Protected Overrides Function IntersectTree( _ 
ByVal ent1 As Entity, _ 
ByVal ent2 As Entity, _ 
ByRef collisionResults As List(Of CollisionResult), _ 
ByRef intersectionData As List(Of Entity), _ 
ByVal worker As BackgroundWorker, _ 
ByVal doWorkEventArgs As DoWorkEventArgs
) As Boolean
This language is not supported or no code example is available.
protected override bool IntersectTree( 
Entity ent1
Entity ent2
ref List<CollisionResult> collisionResults
out List<Entity> intersectionData
BackgroundWorker worker
DoWorkEventArgs doWorkEventArgs 
)
This language is not supported or no code example is available.

Parameters

ent1
Entity

First entity to check

ent2
Entity

second entity to check

collisionResults
List<CollisionResult>

Filled only for root entities.

intersectionData
List<Entity>

Volumes data needed for OBWithSubdivisionTree checkMethod or not-root entities.

worker
BackgroundWorker

<default>

doWorkEventArgs
DoWorkEventArgs

<default>

Return Value

bool

True if at least two Octrees intersects each other, false otherwise

.NET Framework

Supported in: 4.8

In this article

Definition