Show / Hide Table of Contents

Constructor ObserverTargetPairs

ObserverTargetPairs(IEnumerable<ObserverTargetPair>)

Initializes a new instance of the ObserverTargetPairs class.

Declaration
public ObserverTargetPairs(IEnumerable<ObserverTargetPair> pairs)
Parameters
Type Name Description
IEnumerable<ObserverTargetPair> pairs

Observer and target positions for the LineOfSightParameters. If this is empty, EvaluateAsync(CancellationToken) will return an empty set of results.

Applies to

Platforms and versions
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300

ObserverTargetPairs(IEnumerable<LineOfSightPosition>, IEnumerable<LineOfSightPosition>)

Initializes a new instance of the ObserverTargetPairs class. Creates an observer target pair for each combination of the given observer and target positions.

Declaration
public ObserverTargetPairs(IEnumerable<LineOfSightPosition> observerPositions, IEnumerable<LineOfSightPosition> targetPositions)
Parameters
Type Name Description
IEnumerable<LineOfSightPosition> observerPositions

Observer positions for the LineOfSightParameters. If this is empty, EvaluateAsync(CancellationToken) will return an empty set of results.

IEnumerable<LineOfSightPosition> targetPositions

Target positions for the LineOfSightParameters. If this is empty, EvaluateAsync(CancellationToken) will return an empty set of results.

Remarks

Allows creation of pairs for the following scenarios:

  • One to one: Assess the visibility of one target to one observer.
  • One to many: Assess the visibility of multiple targets to one observer.
  • Many to one: Assess the visibility of one target to multiple observers.
  • Many to many: Assess the visibility of multiple targets to multiple observers.

Pairs are ordered by observer, then target.

Applies to

Platforms and versions
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300
In this article
Provide feedback
Back to top Copyright © 2025 Esri.