Joint3d-SDK 开发文档
  • 基础构成
  • 地图地形
  • 业务图层
  • 覆盖元素
  • 材质属性
  • 效果动画
  • 实用工具
  • 场景分析
  • 第三方集成
  • English
  • 简体中文
  • 基础构成
  • 地图地形
  • 业务图层
  • 覆盖元素
  • 材质属性
  • 效果动画
  • 实用工具
  • 场景分析
  • 第三方集成
  • English
  • 简体中文
  • 场景分析

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

场景分析

# 场景分析

# Analysis

三维场景分析

# example

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

# properties

  • {Measure} measure:空间测量,参照 Measure
  • {SightLine} sightLine:线性通视分析,参照 SightLine
  • {SunLight} sunLight: 日照分析,参照 SunLight
  • {Viewshed} viewshed:可视域分析,参照 Viewshed
  • {Visibility} visibility:区域通视分析,参照 Visibility

# Measure

空间测量

# example

var measure = viewer.analysis.measure

# methods

  • drawLineMeasureGraphics(options)

  • 参数

    • {Object} options
{
  "clampToGround": true,//是否贴地
  "callback": function (ent) {}//回调事件
}
  • drawAreaMeasureGraphics(options)

  • 参数

    • {Object} options
{
  "clampToGround": true,//是否贴地
  "callback": function (ent) {}//回调事件
}
  • drawTrianglesMeasureGraphics(options)

  • 参数

    • {Object} options
 {
   "callback": function (ent) {}//回调事件
 }

# SightLine

线性通视分析

# example

var sightLine = viewer.analysis.sightLine

# properties

  • {Boolean} showDistance:是否显示视距。

# methods

  • open() 开启分析
  • close() 关闭分析

# SunLight

日照分析

# example

var sunlight = viewer.analysis.sunlight

# properties

  • {Boolean} showDistance:是否显示视距。

# methods

  • open() 开启分析

  • pause() 暂停分析

  • close() 关闭分析

  • setConfig([options])

  • 参数

    • {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:是否显示视距。
  • {Boolean} showDome:是否显示包围盒。

# methods

  • open() 开启分析
  • close() 关闭分析

# Visibility

区域通视分析

# example

var visibility = viewer.analysis.visibility

# properties

  • {Boolean} showDistance:是否显示视距。
  • {Boolean} showDome:是否显示包围盒。

# methods

  • open() 开启分析
  • close() 关闭分析
Copyright © 2021-2022 厦门集恩图造信息科技股份有限公司
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式