当前位置:网站首页>Cesium Quick Start 4-Polylines primitive usage explanation
Cesium Quick Start 4-Polylines primitive usage explanation
2022-08-10 15:32:00 【Debt in the world^】
Cesium快速上手4-PolylinesExplanation of the use of primitives
1. Polyline & Cesium.PolylineCollection
http://localhost:8080/Apps/Sandcastle/index.html?src=development%2FPolylines.html&label=Development
// A simple polyline with two points.
const polyline = polylines.add({
positions: Cesium.PolylinePipeline.generateCartesianArc({
positions: Cesium.Cartesian3.fromDegreesArray([
-120.0,
40.0,
-110.0,
30.0,
]),
}),
material: Cesium.Material.fromType("Color", {
color: new Cesium.Color(1.0, 1.0, 1.0, 1.0),
}),
});
2. PolylineGeometry
http://localhost:8080/Apps/Sandcastle/gallery/development%2FPolyline.html
3. SimplePolylineGeometry
http://localhost:8080/Apps/Sandcastle/index.html?src=development%2FSimple%20Polyline.html&label=Development
特点:SimplePolylineGeometry没有width属性
4. GroundPolylineGeometry
http://localhost:8080/Apps/Sandcastle/gallery/development%2FGround%20Polyline%20Material.html
http://localhost:8080/Apps/Sandcastle/gallery/development%2FPolylines%20On%20Terrain.html
注意:必须用GroundPolylinePrimitive来创建,而不能用GroundPrimitive创建
5. 综合比较
PolylineCollectionMultiple polylines can be rendered at the same time,性能较高;Other types render a polyline separately,Will lead to more words,Rendering performance is affected.
边栏推荐
- 学习MySQL 临时表
- 无线网络、HTTP缓存、IPv6
- Oracle database backup DMP file is too big, what method can be split into multiple DMP when backup?
- 老板加薪!看我做的WPF Loading!!!
- Azure IoT Partner Technology Empowerment Workshop: IoT Dev Hack
- APP automation testing with Uiautomator2
- 产品使用说明书小程序开发制作说明
- Websocket realizes real-time change of chart content
- Zhaoqi Technology Innovation High-level Talent Entrepreneurship Competition Platform
- scala 基础篇
猜你喜欢
随机推荐
640. Solving Equations: Simple Simulation Problems
【教程】HuggingFace的Optimum组件已支持加速Graphcore和英特尔Habana芯片
使用Uiautomator2进行APP自动化测试
Brainstorm: Goals and
容器化 | 在 S3 实现定时备份
Oracle数据库备份dmp文件太大,有什么办法可以在备份的时候拆分成多个dmp吗?
网络初识(二)
MySQL advanced (thirty-three) MySQL data table adding fields
APP automation testing with Uiautomator2
Data Types and Integer Storage
头脑风暴:目标和
Redis -- Nosql
网络工程师的背包(EDC总结推荐)
【语义分割】DeepLab系列
波士顿房价预测
Yann LeCun转推:参数减少50倍,性能还更好,MetaAI推出Atlas信息检索模型
SWIG Tutorial "One"
Based on Azuki Series: NFT Valuation Analysis Framework "DRIC"
解读STEAM教育中的表现性评价
一文让你快速了解大小端概念!