Analysis object
This sample demonstrates how you can instantiate an analysis object for the following types:
- DirectLineMeasurementAnalysis Object
- AreaMeasurementAnalysis Object
- SliceAnalysis Object
- LineOfSightAnalysis Object
These objects can be added to SceneView.analyses, a collection of client side analyses. This allows for measuring, slicing and performing line of sight analyses programmatically without the use of widgets. Further, these objects can be passed to the constructor of widgets and view models in order to set their initial state.
For using AreaMeasurementAnalysis Object see also the sample Area measurement analysis object.