Method EvaluateAsync
EvaluateAsync(CancellationToken)
Evaluate visibility along the lines of sight defined by this function.
Declaration
public Task<IReadOnlyList<LineOfSight>> EvaluateAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | A cancellation token that can be used to cancel the operation. |
Returns
| Type | Description |
|---|---|
| Task<IReadOnlyList<LineOfSight>> | The function result, or an error if evaluation was unsuccessful. |
Remarks
The collection of LineOfSight objects returned is ordered to match Pairs in ObserverTargetPairs. Each LineOfSight corresponds to the ObserverTargetPair at the same index.
See Also
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |