主要内容

hasLOS

R2026b

Line-of-sight visibility status

Since R2026b

    Description

    Add-On Required: This feature requires the 3D Scenarios add-on.

    vis = hasLOS(analysis) returns the line-of-sight visibility status of the destination actors from the source actor.

    Input Arguments

    collapse all

    Analysis, specified as an LOSAnalysis object or a RayTraceAnalysis object.

    Output Arguments

    collapse all

    Visibility status, returned as a 1-by-n logical vector, where n is the number of destinations in the analysis. Each element is true if a line-of-sight path exists from the source to the corresponding destination, and false otherwise.

    If the source and destination are in the same location, the visibility status is false.

    Data Types: logical

    Version History

    Introduced in R2026b

    See Also

    Functions

    Objects