CollisionDetection.IntersectOB Method

Check intersection between Oriented Bounding Box of two root entities (the entities can be BlockReference), by using SAT algorithm.
Protected Overrides Function IntersectOB( _ 
ByVal ent1 As Entity, _ 
ByVal ent2 As Entity, _ 
ByRef collisionResult 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 IntersectOB( 
Entity ent1
Entity ent2
ref List<CollisionResult> collisionResult
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

collisionResult
List<CollisionResult>

<default>

intersectionData
List<Entity>

<default>

worker
BackgroundWorker

<default>

doWorkEventArgs
DoWorkEventArgs

<default>

Return Value

bool

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

.NET Framework

Supported in: 4.8

In this article

Definition