Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LiZzhi/cesium-plugin
/ functions
Functions
383 in github.com/LiZzhi/cesium-plugin
⨍
Functions
383
◇
Types & classes
84
↓ 46 callers
Method
add
* 添加点 * @param {number} x * @param {number} y * @returns {number} 当前点位的索引
effectPoint/src/Utils/kdbush.ts:48
↓ 44 callers
Method
remove
* 删除网格
gridRender/src/Func/imageryGrid.ts:36
↓ 15 callers
Function
area
(p, q, r)
mapvLayer/src/Func/mapvAPI/mapv.js:1997
↓ 13 callers
Function
clear
(context)
mapvLayer/src/Func/mapvAPI/mapv.js:13
↓ 12 callers
Method
init
* 开启视频投影,大概流程: * 创建Camera→创建Texture→创建ShadowMap→创建PostProcessStage→创建Frustum * 然后把不同类型的Texture传给ShadowMap
videoShed/src/Func/videoShed.ts:84
↓ 11 callers
Function
edge_length
(e)
mapvLayer/src/Func/mapvAPI/mapv.js:2420
↓ 10 callers
Method
#isThis
* 判断 this 指向
pathRoaming/src/Func/pathRoaming.ts:272
↓ 10 callers
Method
removeAll
* 清空
plotTool/src/Func/drawShape.ts:448
↓ 9 callers
Function
classCallCheck
(instance, Constructor)
mapvLayer/src/Func/mapvAPI/mapv.js:163
↓ 9 callers
Function
get
(object, property, receiver)
mapvLayer/src/Func/mapvAPI/mapv.js:193
↓ 8 callers
Method
#drawEnd
* 绘图完毕的清除工作
plotTool/src/Func/drawShape.ts:474
↓ 8 callers
Method
computePosition
* @description: 计算实际位置(地形高) * @param {Viewer} viewer viewer * @param {worldDegreesType} worldDegrees 点经纬度坐标 * @return {Promise<Carte
effectPoint/src/Func/domPoint/domPointBase.ts:184
↓ 8 callers
Function
coordinateTransform
* 坐标转换 * @param { Matrix4 } m 转换矩阵 * @param { Cartesian3 } point 坐标 * @returns
videoShed/src/Func/tool.ts:134
↓ 8 callers
Method
postRender
* @description: 默认的场景渲染事件(主要是位置的修改和显示高度的限制) * @param {number} maxHeight (可选)显示最大限制高度(超出将不显示),不传或传入0均不做限制,默认无 * @param {function} callback
effectPoint/src/Func/domPoint/domPointBase.ts:92
↓ 7 callers
Function
equals
(p1, p2)
mapvLayer/src/Func/mapvAPI/mapv.js:2002
↓ 7 callers
Function
inherits
(subClass, superClass)
mapvLayer/src/Func/mapvAPI/mapv.js:218
↓ 7 callers
Function
possibleConstructorReturn
(self, call)
mapvLayer/src/Func/mapvAPI/mapv.js:244
↓ 6 callers
Method
#isThis
* 判断 this 指向
plotTool/src/Func/drawShape.ts:535
↓ 6 callers
Method
add
* @description: 添加书签,返回是否添加成功 * @param {BookmarkType} bookmark 书签 * @return {boolean} 是否添加成功
bookmarkManager/src/func/bookmarkManager.ts:24
↓ 6 callers
Method
createLayer
* 初始化图层 * @param dataSet 数据 * @param options mapv 图层参数
mapvLayer/src/Func/mapvLayer.ts:32
↓ 6 callers
Method
start
* @description: 开启聚合,先执行finish方法可大幅度提高首次聚合速度 * @return {*}
effectPoint/src/Func/effectPoint/primitiveCluster.ts:141
↓ 6 callers
Method
update
* 【不要调用】实现Primitive接口,供Cesium内部在每一帧中调用。 * 因为此类本质为自定义primitive,故要实现 update 接口,Cesium * 每一帧都会调用一次 * @param { Cesium.FrameState } frame
videoShed/src/Func/videoShed.ts:157
↓ 5 callers
Method
#addData
* 添加 Entity * @param { Entity.ConstructorOptions } options
plotTool/src/Func/drawShape.ts:506
↓ 5 callers
Method
#drawStart
* 绘图前准备工作 * @returns {ScreenSpaceEventHandler} 屏幕事件句柄
plotTool/src/Func/drawShape.ts:456
↓ 5 callers
Method
destroy
* 销毁
linkView/src/Func/linkView.ts:38
↓ 5 callers
Function
euclidean_distance
(p, q)
mapvLayer/src/Func/mapvAPI/mapv.js:2443
↓ 5 callers
Function
filterPoints
(start, end)
mapvLayer/src/Func/mapvAPI/mapv.js:1591
↓ 5 callers
Function
getTerrainMostDetailedHeight
( viewer: Viewer, lon: number, lat: number )
effectPoint/src/Utils/tool.ts:19
↓ 5 callers
Function
locallyInside
(a, b)
mapvLayer/src/Func/mapvAPI/mapv.js:2024
↓ 5 callers
Function
removeNode
(p)
mapvLayer/src/Func/mapvAPI/mapv.js:2081
↓ 5 callers
Function
swapItem
* id和coords排序过程中的前后换位 * @param {indexArray} ids * @param {InstanceType<coordArrayConstructorType>} coords * @param {number} i * @param {number
effectPoint/src/Utils/kdbush.ts:238
↓ 5 callers
Method
updateStyle
* 更新当前投影位置 * @param { Partial<videoShedOptions> } options 更新参数
videoShed/src/Func/videoShed.ts:114
↓ 4 callers
Method
#addTemporaryPoint
* 添加临时绘图节点 * @param { Cartesian3 } position 节点坐标
plotTool/src/Func/drawShape.ts:518
↓ 4 callers
Function
creatDiv
()
effectPoint/index.ts:26
↓ 4 callers
Method
destroy
* 销毁图层
mapvLayer/src/Func/mapvLayer.ts:99
↓ 4 callers
Function
getCenter
(g)
mapvLayer/src/Func/mapvAPI/mapv.js:110
↓ 4 callers
Function
pointInTriangle
(ax, ay, bx, by, cx, cy, px, py)
mapvLayer/src/Func/mapvAPI/mapv.js:1987
↓ 3 callers
Method
#eraseGrid
* 清空网格
gridRender/src/Func/geoHashGrid.ts:118
↓ 3 callers
Method
#isThis
* 判断 this 指向
linkView/src/Func/linkView.ts:220
↓ 3 callers
Method
#isThis
* 判断 this 指向
videoShed/src/Func/videoShed.ts:375
↓ 3 callers
Function
earcutLinked
(ear, triangles, dim, minX, minY, size, pass)
mapvLayer/src/Func/mapvAPI/mapv.js:1614
↓ 3 callers
Function
get
(object, property, receiver)
mapvLayer/src/Func/mapvAPI/MapVRenderer.js:50
↓ 3 callers
Function
getColorData
(color)
mapvLayer/src/Func/mapvAPI/mapv.js:1387
↓ 3 callers
Function
getTerrainMostDetailedHeight
( viewer: Viewer, lon: number, lat: number )
particleSystem/src/utils/tool.ts:19
↓ 3 callers
Method
getVisible
* @description: 获取可见性 * @return {boolean}
effectPoint/src/Func/effectPoint/floatPoint.ts:65
↓ 3 callers
Method
init
* @description: 创建 * @param {boolean} show (可选)可见性,默认为true * @return {*}
particleSystem/src/func/fireParticle.ts:29
↓ 3 callers
Function
initShaders
(gl, vs_source, fs_source)
mapvLayer/src/Func/mapvAPI/mapv.js:1371
↓ 3 callers
Method
preUpdateEvent
* @description: * @param {particleStyleType} style 粒子的 particleStyleType * @param {eventFuncType} callBack 回调函数,每次更新都会执行 * @return
particleSystem/src/func/particleSystemBase.ts:117
↓ 3 callers
Method
setVisible
* @description: 设置可见性 * @param {boolean} show 是否可见 * @return {*}
particleSystem/src/func/particleSystemBase.ts:80
↓ 3 callers
Method
setVisible
* @description: 设置可见性 * @param {boolean} show 是否可见 * @return {*}
effectPoint/src/Func/effectPoint/floatPoint.ts:57
↓ 3 callers
Function
signedArea
(data, start, end, dim)
mapvLayer/src/Func/mapvAPI/mapv.js:2138
↓ 3 callers
Function
simpleBindShim
* Simple bind for functions with no args for bind-less browsers (Safari). * @param {Object} thisArg The this value used for the target function.
mapvLayer/src/Func/mapvAPI/mapv.js:5169
↓ 3 callers
Function
swap
* 指定索引换位 * @param {InstanceType<coordArrayConstructorType>} arr * @param {number} i * @param {number} j
effectPoint/src/Utils/kdbush.ts:255
↓ 3 callers
Function
zOrder
(x, y, minX, minY, size)
mapvLayer/src/Func/mapvAPI/mapv.js:1956
↓ 2 callers
Method
#addCameraFrustum
* 创建视锥
videoShed/src/Func/videoShed.ts:294
↓ 2 callers
Method
#creatDom2D
* 创建 viewer2D DOM * @returns { HTMLDivElement } viewer2D DOM
linkView/src/Func/linkView.ts:207
↓ 2 callers
Method
#createCulsterEvent
* @description: 聚合事件(正在使用) * @return {*}
effectPoint/src/Func/effectPoint/primitiveCluster.ts:206
↓ 2 callers
Method
#createShadowMap
* 创建shadowmap * 阴影贴图支持不同的纹理,那么我们要做的就是创建一个ShadowMap, * 然后把不同类型的Texture传给他就可以了
videoShed/src/Func/videoShed.ts:257
↓ 2 callers
Method
#drawHashBox
* 绘制网格 * @param {string} hash geoHash字符串 * @returns
gridRender/src/Func/geoHashGrid.ts:74
↓ 2 callers
Method
#getOrientation
* 计算视锥方向
videoShed/src/Func/videoShed.ts:222
↓ 2 callers
Method
#initCamera
* 通过 cameraPosition 和 rotation 计算 shadowmap 位置
videoShed/src/Func/videoShed.ts:164
↓ 2 callers
Method
#isCross
* @description: 判断是否越界 * @return {boolean}
cameraLimit/src/func/cameraLimit.ts:143
↓ 2 callers
Method
#isThis
* 判断 this 指向
mapvLayer/src/Func/mapvLayer.ts:110
↓ 2 callers
Method
#setBoardVisible
* @description: 控制面板显隐,该面板仅为包含DOM的整个面板,会保留一个点用以控制重新打开 * @param {boolean} show 是否显示 * @return {*}
effectPoint/src/Func/domPoint/sampleLabelPoint.ts:116
↓ 2 callers
Function
B1
(x)
mapvLayer/src/Func/mapvAPI/mapv.js:2299
↓ 2 callers
Function
B2
(x)
mapvLayer/src/Func/mapvAPI/mapv.js:2302
↓ 2 callers
Function
B3
(x)
mapvLayer/src/Func/mapvAPI/mapv.js:2305
↓ 2 callers
Function
addMarkDom
(bookmark: BookmarkType)
bookmarkManager/index.ts:32
↓ 2 callers
Method
applyGravity
* @description: 重力 计算局部向上量 * @return {*}
particleSystem/src/func/particleSystemBase.ts:153
↓ 2 callers
Function
calculateRectangle
( [pointA, pointB, pointC]: Cartesian3[], e: Ellipsoid = Ellipsoid.WGS84 )
plotTool/src/Func/tool.ts:120
↓ 2 callers
Function
createShader
(gl, src, type)
mapvLayer/src/Func/mapvAPI/mapv.js:1364
↓ 2 callers
Function
defineProperties
(target, props)
mapvLayer/src/Func/mapvAPI/MapVRenderer.js:33
↓ 2 callers
Function
defineProperties
(target, props)
mapvLayer/src/Func/mapvAPI/MapVLayer.js:10
↓ 2 callers
Function
defineProperties
(target, props)
mapvLayer/src/Func/mapvAPI/mapv.js:170
↓ 2 callers
Method
destroy
* 销毁
pathRoaming/src/Func/pathRoaming.ts:159
↓ 2 callers
Method
destroy
* 销毁
videoShed/src/Func/videoShed.ts:130
↓ 2 callers
Function
edge_as_vector
(P)
mapvLayer/src/Func/mapvAPI/mapv.js:2415
↓ 2 callers
Function
edge_visibility
(P, Q)
mapvLayer/src/Func/mapvAPI/mapv.js:2607
↓ 2 callers
Method
getLevel
* 获取层级 * @param {number} height 高度 * @returns {number} 层级
gridRender/src/Func/geoHashGrid.ts:231
↓ 2 callers
Function
getMax
(options)
mapvLayer/src/Func/mapvAPI/mapv.js:1036
↓ 2 callers
Function
getMin
(options)
mapvLayer/src/Func/mapvAPI/mapv.js:1041
↓ 2 callers
Function
getPolygon
(coordinates)
mapvLayer/src/Func/mapvAPI/mapv.js:457
↓ 2 callers
Method
init
* 创建网格
gridRender/src/Func/imageryGrid.ts:28
↓ 2 callers
Method
init
* @description: 初始化点位 * @return {*}
effectPoint/src/Func/domPoint/divPoint.ts:31
↓ 2 callers
Function
insertNode
(i, x, y, last)
mapvLayer/src/Func/mapvAPI/mapv.js:2066
↓ 2 callers
Function
intersects
(p1, q1, p2, q2)
mapvLayer/src/Func/mapvAPI/mapv.js:2007
↓ 2 callers
Function
linkedList
(data, start, end, dim, clockwise)
mapvLayer/src/Func/mapvAPI/mapv.js:1569
↓ 2 callers
Function
possibleConstructorReturn
(self, call)
mapvLayer/src/Func/mapvAPI/MapVRenderer.js:7
↓ 2 callers
Function
project_point_on_line
(p, Q)
mapvLayer/src/Func/mapvAPI/mapv.js:2447
↓ 2 callers
Method
range
* 查找指定区域内的点 * @param {number} minX * @param {number} minY * @param {number} maxX * @param {number} maxY * @returns {numb
effectPoint/src/Utils/kdbush.ts:79
↓ 2 callers
Method
remove
* 移除网格绘制
gridRender/src/Func/geoHashGrid.ts:46
↓ 2 callers
Method
revoke
* 撤销 * @returns
plotTool/src/Func/drawShape.ts:435
↓ 2 callers
Function
splitPolygon
(a, b)
mapvLayer/src/Func/mapvAPI/mapv.js:2044
↓ 2 callers
Method
startRoaming
* 开始漫游 * @param { Cartographic[] } ps 漫游路径 * @param { 1|2 } viewType (可选)漫游视角,默认为 1
pathRoaming/src/Func/pathRoaming.ts:113
↓ 2 callers
Function
update_edge_divisions
Edge Division Calculation Methods
mapvLayer/src/Func/mapvAPI/mapv.js:2545
↓ 1 callers
Method
#activeVideo
* 创建纹理
videoShed/src/Func/videoShed.ts:191
↓ 1 callers
Method
#addDom
* @description: 添加DOM * @return {*}
effectPoint/src/Func/domPoint/sampleLabelPoint.ts:81
↓ 1 callers
Method
#addDom
* @description: 添加DOM * @return {*}
effectPoint/src/Func/domPoint/hotSpotBoardPoint.ts:73
↓ 1 callers
Method
#addDom
* @description: 添加DOM * @return {*}
effectPoint/src/Func/domPoint/divPoint.ts:73
↓ 1 callers
Method
#addDom
* @description: 添加DOM * @return {*}
effectPoint/src/Func/domPoint/waterPoloPoint.ts:109
next →
1–100 of 383, ranked by callers