Vector.Intersects(ThreeDModel, Variable, StringArray) Method

Top 

Description

Evaluates intersection between the calling Vector and the threeDModel specifying the groups (if any) that intersect with the calling Vector. The isInfiniteVector option specifies whether the vector is infinite or not.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

Vector.Intersects(

ThreeDModel threeDModel,


Variable isInfiniteVector,


StringArray intersectedGroups)

 

 

Arguments

threeDModel


Description:

ThreeDModel that is used to determine intersection with the calling Vector.

 

 

isInfiniteVector


Description:

Determines whether the intersection calculations use the vector's magnitude or assume an infinite vector.

Valid Values:

Value

Label

0

false

1

true

 

 

 

intersectedGroups


Description:

StringArray holding the names of the groups that are intersecting the calling Vector, in reverse order of intersection.

 

 

 

Return Value

Type:

number

 

 

Returns the number of groups in the threeDModel that are intersecting the calling Vector.

 

Syntax

myVariable1 = myVector1.Intersects(myThreeDModel1, myVariable2, myStringArray1);

 

 

See also

Vector Object

Vector.Intersects

Coverage and Contact Analysis Guide

Vectors and Coordinate Systems Guide

Matrix, Array, and Variable Math Guide