Entity.Intersects Method

Checks if two entity intersect geometrically
Protected Friend Overridable Function Intersects( _ 
ByVal entity As Entity, _ 
ByVal touch As Boolean, _ 
ByVal getVolumes As Boolean, _ 
ByVal trans1 As Transformation, _ 
ByVal trans2 As Transformation, _ 
ByRef intersectionData As List(Of Entity), _ 
ByRef log As String
) As Boolean
This language is not supported or no code example is available.
internal protected virtual bool Intersects( 
Entity entity
bool touch
bool getVolumes
Transformation trans1
Transformation trans2
out List<Entity> intersectionData
out string log 
)
This language is not supported or no code example is available.

Parameters

entity
Entity

the entity to check intersection with

touch
bool

When false doesn't consider the coincidences as intersections.

getVolumes
bool

When true the intersectionData is filled with the volume of collisions.

trans1
Transformation

the transformation to be applied to the current entity

trans2
Transformation

the transformation to be applied to the input entity

intersectionData
List<Entity>

The information about the volumes and/or position of collisions

log
string

Return Value

bool

True if the two entities intersect.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition