Joint3d-SDK Docs
  • Base
  • Map
  • Layers
  • Overlays
  • Materials
  • Effects
  • Tools
  • Analysis
  • ThirdPart
  • English
  • 简体中文
  • Base
  • Map
  • Layers
  • Overlays
  • Materials
  • Effects
  • Tools
  • Analysis
  • ThirdPart
  • English
  • 简体中文
  • Analysis

    • Analysis
      • example
      • properties
    • Measure
      • example
      • methods
    • SightLine
      • example
      • properties
      • methods
    • SunLight
      • example
      • properties
      • methods
    • Viewshed
      • example
      • properties
      • methods
    • Visibility
      • example
      • properties
      • methods
  • analysis
2022-01-10
目录

Analysis

# Analysis

# Analysis

3D spatial analysis

# example

var viewer = Joint3d.Viewer('viewer-container')
var analysis = viewer.analysis

# properties

  • {Measure} measure:viewer measure Measure
  • {SightLine} sightLine:Through-view analysis (line) SightLine
  • {SunLight} sunLight: Daylight Analysis SunLight
  • {Viewshed} viewshed:View-Shed Analysis Viewshed
  • {Visibility} visibility:Through-view analysis (circle) Visibility

# Measure

# example

var measure = viewer.analysis.measure

# methods

  • drawLineMeasureGraphics(options)

  • parameters

    • {Object} options
{
  "clampToGround": true,
  "callback": function (ent) {}
}
  • drawAreaMeasureGraphics(options)

  • parameters

    • {Object} options
{
  "clampToGround": true,
  "callback": function (ent) {}
}
  • drawTrianglesMeasureGraphics(options)

  • parameters

    • {Object} options
 {
   "callback": function (ent) {}
 }

# SightLine

# example

var sightLine = viewer.analysis.sightLine

# properties

  • {Boolean} showDistance:Whether show the distance.

# methods

  • open()

  • close()

# SunLight

# example

var sunlight = viewer.analysis.sunlight

# properties

  • {Boolean} showDistance:Whether show the distance.

# methods

  • open()

  • pause()

  • close()

  • setConfig([options])

  • parameters

    • {Object} options
 // options(optional)
 {
   multiplier: 5000,
   day: "2021-10-20",
   startTime: 8,
   stopTime: 18,
   clockRange: Joint3d.ClockRange.LOOP_STOP,
   clockStep: Joint3d.ClockStep.SYSTEM_CLOCK_MULTIPLIER,
 }

# Viewshed

# example

var viewshed = viewer.analysis.viewshed

# properties

  • {Boolean} showDistance:Whether show the distance.
  • {Boolean} showDome:Whether show the dome.

# methods

  • open()

  • close()

# Visibility

# example

var visibility = viewer.analysis.visibility

# properties

  • {Boolean} showDistance:Whether show the distance.
  • {Boolean} showDome:Whether show the dome.

# methods

  • open()

  • close()

Copyright © 2021-2022 厦门集恩图造信息科技股份有限公司
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式