LineOfSightFunction class final
A function that evaluates visibility along one or more lines of sight between observer and target locations.
Use LineOfSightFunction.evaluate to compute the result of this function.
Results are updated when changes are made to parameters of this function (or to parameters of functions from which it is composed).
The function performs analysis at the full resolution of the data. To perform analysis at the current rendered resolution of scene layers or 3D graphics, use the ExploratoryLineOfSight tool.
- Implemented types
Constructors
- LineOfSightFunction.withContinuousField({required ContinuousField elevation, required LineOfSightParameters parameters})
-
Creates a LineOfSightFunction.
factory
- LineOfSightFunction.withContinuousFieldFunction({required ContinuousFieldFunction elevation, required LineOfSightParameters parameters})
-
Creates a LineOfSightFunction.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- parameters ↔ LineOfSightParameters
-
Parameters that define properties like observer and target locations for
the LineOfSightFunction.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
evaluate(
) → Future< List< LineOfSight> > - Evaluate visibility along the lines of sight defined by this function.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited