SuperMap iClient3D for Cesium立体地图选中+下钻特效

在大屏展示系统中,对行政区划数据制作了立体效果,如果希望选中某一行政区划进行重点介绍,目前常见的方式是通过修改选中对象色彩、边线等方式进行实现;这里提供另外一种偏移动效的思路,提供功能让地图选中效果更加炫酷,一起开看看如何实现吧!

立体地图选中+下钻特效

一、数据制作

对于上述视频中的立体地图制作,此处讲述,如有需要可访问:Online 开发者中心

可视化案例中提供了详细的代码、数据下载链接及数据制作过程。

二、实现思路

选中抬升效果的实现思路如下图所示

点击下钻效果的实现思路如下图所示

三、关键代码

数据抬升关键代码如下:

handlerPoint.setInputAction(function(event) {var result = viewer.scene.pick(event.endPosition)var layertop = scene.layers.find('sichuan432602');var selection = layertop.getSelection();if (selection.length > 0) {			var selectedId = Number(selection[selection.length - 1]);if (!offsetList[selectedId]) {offsetList[selectedId] = {"isoffset": true,"offsetZ": 0};} else {for (let key in offsetList) {offsetList[key].isoffset = false;}offsetList[selectedId].isoffset = true;}} else {for (let key in offsetList) {offsetList[key].isoffset = false;}}}, Cesium.ScreenSpaceEventType.MOUSE_MOVE);setInterval(function() {var layertop = scene.layers.find('sichuan432602');for (let key in offsetList) {if (offsetList[key].isoffset) {if (offsetList[key].offsetZ < 20000) {offsetList[key].offsetZ = offsetList[key].offsetZ + 1000;layertop.setObjsTranslate([key], new Cesium.Cartesian3(0, 0, offsetList[key].offsetZ))}} else {if (offsetList[key].offsetZ > 0) {offsetList[key].offsetZ = offsetList[key].offsetZ - 500;layertop.setObjsTranslate([key], new Cesium.Cartesian3(0, 0, offsetList[key].offsetZ))}}}}, 20)

下钻关键代码如下:

let handlerPoint = new Cesium.ScreenSpaceEventHandler(window.viewer.scene.canvas);handlerPoint.setInputAction(function(event){viewer.entities.removeById("selectedId");var layertop = scene.layers.find('sichuan432602');var selection = layertop.getSelection();if (selection.length > 0) {var selectedId = Number(selection[selection.length - 1]);// layertop.setObjsVisible([selectedId], true)provinceEntity.show = false;$("#echarts").hide();cityEntity.entities.removeAll();cityEntity.show = true;layertop.releaseSelection();$.ajax({url: './images/cbg/sichuancitys4326.json',success: function(data) {var geometrys = data.features;for (var i = 0; i < geometrys.length; i++) {if (geometrys[i].properties.cityid != selectedId) {continue;}var geometry = geometrys[i].geometry;var coordinates = geometry.coordinates;var pipeLinePts = [];var polygon;if (geometry.type == "MultiLineString") {debugger;} else {for (var j = 0; j < coordinates[0].length; j++) {var pos = new Cesium.Cartesian3.fromDegrees(Number(coordinates[0][j][0]),Number(coordinates[0][j][1]), 20000);pipeLinePts.push(pos);}polygon = new Cesium.PolygonHierarchy(pipeLinePts)}cityEntity.entities.add({polygon: {hierarchy: polygon,// outlineWidth: 1/window.devicePixelRatio,material: new Cesium.Color(255 / 255, 0 / 255, 0 / 255,0),outline: true,height: 20000,outlineWidth: 5 / window.devicePixelRatio,outlineColor: new Cesium.Color(170 / 255, 170 / 255,170 / 255, 1)}})var position = new Cesium.Cartesian3.fromDegrees(geometrys[i].properties.Center_X,geometrys[i].properties.Center_Y, 500);cityEntity.entities.add({// id: name,position: position,label: {text: geometrys[i].properties.name,outlineWidth: 3,style: Cesium.LabelStyle.FILL_AND_OUTLINE,fillColor: new Cesium.Color(255 / 255, 255 / 255, 255 /255, 0.9),outlineColor: new Cesium.Color(0 / 255, 18 / 255, 4 /255, 1.0),disableDepthTestDistance: Number.POSITIVE_INFINITY,font: 14 - Math.pow(window.devicePixelRatio, 2) +'px Arial bold',pixelOffset: new window.Cesium.Cartesian2(15 * name.length + 15, 0)}})}viewer.flyTo(cityEntity, {duration: 1.5,offset: {heading: 0.04200358377266422, // 以弧度为单位的航向角。pitch: -0.6718486685836051, // 以弧度为单位的俯仰角。range: 0 // 到中心的距离,以米为单位。								}});}});} else {provinceEntity.show = true;cityEntity.show = false;$("#echarts").show();}},Cesium.ScreenSpaceEventType.LEFT_CLICK)

四、示例完整代码

示例完整代码如下:

<!DOCTYPE html>
<html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"><meta name="viewport"content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"><title>四川省蓝色风格影像地图</title><link href="../../Build/Cesium/Widgets/widgets.css" rel="stylesheet"><link href="./css/pretty.css" rel="stylesheet"><script type="text/javascript" src="./js/bubble/popup.js"></script><script src="./js/jquery.min.js"></script><script src="./js/config.js"></script><script src="./js/echarts.min.js"></script><script src="./js/EchartsLayer.js"></script><script type="text/javascript" src="../../Build/Cesium/Cesium.js"></script><style>#test3 .divpoint {background: url(./images/qipao2.png) no-repeat;background-size: cover;width: 230px;height: 150px;}#test3 .label-wrap {padding-left: 100px;padding-top: 8px;box-sizing: border-box;}#test3 .data-li {font-size: 14px;margin-top: 6px;}.sm-div-graphic {position: absolute;color: #fff;font-size: 14px;}</style></head><body><div id="cesiumContainer"></div><div id='loadingbar' class="spinner"><div class="spinner-container container1"><div class="circle1"></div><div class="circle2"></div><div class="circle3"></div><div class="circle4"></div></div><div class="spinner-container container2"><div class="circle1"></div><div class="circle2"></div><div class="circle3"></div><div class="circle4"></div></div><div class="spinner-container container3"><div class="circle1"></div><div class="circle2"></div><div class="circle3"></div><div class="circle4"></div></div></div><!-- <div id="test3" class="sm-div-graphic" style="pointer-events: all; display: block;  z-index: 8920788;"><div class="divpoint divpoint-theme-29baf1"><div class="label-wrap"><div id="name" class="pop-title">移动的弹窗</div><div class="label-content"><div class="data-li"><div id="renkou" class="data-label">速度:10km/h</div></div><div class="data-li"><div id="gdp" class="data-label">目的地:xxxx</div></div></div></div></div></div> --><script type="text/javascript">function onload(Cesium) {var sichuanGDP = {};//初始化viewer部件,并添加天地图服务var xres = parseInt(window.screen.width * window.devicePixelRatio);var yres = parseInt(window.screen.height * window.devicePixelRatio);viewer = new Cesium.Viewer('cesiumContainer', {baseLayerPicker: false,orderIndependentTranslucency: false,shouldAnimate: true,infoBox: false,contextOptions: {webgl: {alpha: true},maxDrawingBufferWidth: xres,maxDrawingBufferHeight: yres},});var provinceEntity = new window.Cesium.CustomDataSource("provinceEntity");viewer.dataSources.add(provinceEntity);var cityEntity = new window.Cesium.CustomDataSource("cityEntity");viewer.dataSources.add(cityEntity);cityEntity.show = false;var echartsLayer;viewer.imageryLayers.addImageryProvider(new Cesium.SingleTileImageryProvider({url: './images/cbg/world06.jpg',}));viewer.resolutionScale = window.devicePixelRatio;viewer.useBrowserRecommendedResolution = true;viewer.scene.globe.depthTestAgainstTerrain = false;viewer.scene.terrainProvider.isCreateSkirt = false;var scene = viewer.scene;scene.screenSpaceCameraController.zoomFactor = 5.0;scene.lightSource.ambientLightColor = new Cesium.Color(0.5, 0.5, 0.5, 1);var widget = viewer.cesiumWidget;$('#loadingbar').remove();try {var promise = viewer.scene.open("http://localhost:8090/iserver/services/3D-sichuanblue/rest/realspace")} catch (e) {if (widget._showRenderLoopErrors) {var title = '渲染时发生错误,已停止渲染。';widget.showErrorPanel(title, undefined, e);}}$.ajax({url: './images/cbg/sichuanfenjie4326.json',success: function(data) {var geometrys = data.features;for (var i = 0; i < geometrys.length; i++) {var geometry = geometrys[i].geometry;var coordinates = geometry.coordinates;var pipeLinePts = [];for (var j = 0; j < coordinates.length; j++) {var convertPos = new Cesium.Cartesian3.fromDegrees(coordinates[j][0], coordinates[j][1], 500);pipeLinePts.push(convertPos);}provinceEntity.entities.add({polyline: {positions: pipeLinePts,width: 2 / window.devicePixelRatio,material: new Cesium.Color(94 / 255, 213 / 255, 245 / 255, 0.5),arcType: Cesium.ArcType.RHUMB,clampToGround: true}})}}});$.ajax({url: './images/cbg/sichuanbounds4326.json',success: function(data) {var geometrys = data.features;for (var i = 0; i < geometrys.length; i++) {var geometry = geometrys[i].geometry;var coordinates = geometry.coordinates;var pipeLinePts = [];for (var j = 0; j < coordinates.length; j++) {var convertPos = new Cesium.Cartesian3.fromDegrees(coordinates[j][0], coordinates[j][1], 500);pipeLinePts.push(convertPos);}provinceEntity.entities.add({polyline: {positions: pipeLinePts,width: 2.5,material: new Cesium.Color(94 / 255, 213 / 255, 245 / 255, 1)}})}}});var position = new Cesium.Cartesian3.fromDegrees(109.40543308511627, 26.993328925156895, -50000);var targetPosition = new Cesium.Cartesian3.fromDegrees(101.98226836938083, 24.519626362055106, -50000);var options_n = {targetPosition: targetPosition,color: new Cesium.Color(255 / 255, 255 / 255, 255 / 255, 1),intensity: 3,};var directionalLight_n = new Cesium.DirectionalLight(position, options_n);// viewer.scene.addLightSource(directionalLight_n);addPOIeChart();function addPOIeChart() {var data = [];var geoCoordMap = {};$.ajax({url: './images/cbg/sichuan_city_name_P_2.json',success: function(datas) {let realtimeDataEntities = []var geometrys = datas.features;for (var i = 0; i < geometrys.length; i++) {var geometry = geometrys[i].geometry;var coordinates = geometry.coordinates;var name = geometrys[i].properties.name;if (name.length > 4) {var tempname = "";for (var k = 0; k < name.length; k++) {tempname = tempname + name[k] + "\n"}name = tempname;}var level = Number(geometrys[i].properties.level) - 1;data.push({'name': name,'value': 220 + level * 150})geoCoordMap[name] = [coordinates[0], coordinates[1]];;var convertposition = new Cesium.Cartesian3.fromDegrees(coordinates[0], coordinates[1], 500);sichuanGDP[geometrys[i].properties.UserID] = {"coordinates": convertposition,"name": geometrys[i].properties.name2,"renkou": geometrys[i].properties.renkou,"gdp": geometrys[i].properties.gdp,}provinceEntity.entities.add({// id: name,position: convertposition,label: {text: name,outlineWidth: 3,style: Cesium.LabelStyle.FILL_AND_OUTLINE,fillColor: name === "成都市" ? new Cesium.Color(240 / 255, 255 / 255,0 /255, 1) : new Cesium.Color(255 / 255, 255 / 255, 255 / 255,0.9),outlineColor: name === "成都市" ? new Cesium.Color(0 / 255, 18 / 255,4 /255, 1) : new Cesium.Color(79 / 255, 128 / 255, 169 / 255,0.9),disableDepthTestDistance: Number.POSITIVE_INFINITY,font: 14 + level * 8 - Math.pow(window.devicePixelRatio, 2) +'px Arial bold',pixelOffset: name.length > 4 ? new window.Cesium.Cartesian2(-25, 0) :new window.Cesium.Cartesian2(40 + level * 15, 0)}})}const convertData = function(data) {const res = [];for (let i = 0; i < data.length; i++) {const geoCoord = geoCoordMap[data[i].name];if (geoCoord) {res.push({name: data[i].name,value: geoCoord.concat(data[i].value)});}}return res;};const options = {animation: !1,GLMap: {},series: [{name: '前5',type: 'effectScatter',coordinateSystem: 'GLMap',data: convertData(data.sort(function(a, b) {return b.value - a.value;}).slice(0, 50)),symbolSize: function(val) {return val[2] / 20;},showEffectOn: 'render',rippleEffect: {brushType: 'stroke',period: 1.5,scale: 3.5},hoverAnimation: true,itemStyle: {normal: {color: '#FFFFFF',shadowBlur: 20,shadowColor: '#333'}},zlevel: 1}]};echartsLayer = new EchartsLayer(viewer);echartsLayer.chart.setOption(options);}});}let handlerPoint = new Cesium.ScreenSpaceEventHandler(window.viewer.scene.canvas);handlerPoint.setInputAction(function(event){viewer.entities.removeById("selectedId");var layertop = scene.layers.find('sichuan432602');var selection = layertop.getSelection();if (selection.length > 0) {var selectedId = Number(selection[selection.length - 1]);// layertop.setObjsVisible([selectedId], true)provinceEntity.show = false;$("#echarts").hide();cityEntity.entities.removeAll();cityEntity.show = true;layertop.releaseSelection();$.ajax({url: './images/cbg/sichuancitys4326.json',success: function(data) {var geometrys = data.features;for (var i = 0; i < geometrys.length; i++) {if (geometrys[i].properties.cityid != selectedId) {continue;}var geometry = geometrys[i].geometry;var coordinates = geometry.coordinates;var pipeLinePts = [];var polygon;if (geometry.type == "MultiLineString") {debugger;} else {for (var j = 0; j < coordinates[0].length; j++) {var pos = new Cesium.Cartesian3.fromDegrees(Number(coordinates[0][j][0]),Number(coordinates[0][j][1]), 20000);pipeLinePts.push(pos);}polygon = new Cesium.PolygonHierarchy(pipeLinePts)}cityEntity.entities.add({polygon: {hierarchy: polygon,// outlineWidth: 1/window.devicePixelRatio,material: new Cesium.Color(255 / 255, 0 / 255, 0 / 255,0),outline: true,height: 20000,outlineWidth: 5 / window.devicePixelRatio,outlineColor: new Cesium.Color(170 / 255, 170 / 255,170 / 255, 1)}})var position = new Cesium.Cartesian3.fromDegrees(geometrys[i].properties.Center_X,geometrys[i].properties.Center_Y, 500);cityEntity.entities.add({// id: name,position: position,label: {text: geometrys[i].properties.name,outlineWidth: 3,style: Cesium.LabelStyle.FILL_AND_OUTLINE,fillColor: new Cesium.Color(255 / 255, 255 / 255, 255 /255, 0.9),outlineColor: new Cesium.Color(0 / 255, 18 / 255, 4 /255, 1.0),disableDepthTestDistance: Number.POSITIVE_INFINITY,font: 14 - Math.pow(window.devicePixelRatio, 2) +'px Arial bold',pixelOffset: new window.Cesium.Cartesian2(15 * name.length + 15, 0)}})}viewer.flyTo(cityEntity, {duration: 1.5,offset: {heading: 0.04200358377266422, // 以弧度为单位的航向角。pitch: -0.6718486685836051, // 以弧度为单位的俯仰角。range: 0 // 到中心的距离,以米为单位。								}});}});} else {provinceEntity.show = true;cityEntity.show = false;$("#echarts").show();}},Cesium.ScreenSpaceEventType.LEFT_CLICK)var offsetList = {};handlerPoint.setInputAction(function(event) {var result = viewer.scene.pick(event.endPosition)var layertop = scene.layers.find('sichuan432602');var selection = layertop.getSelection();if (selection.length > 0) {			var selectedId = Number(selection[selection.length - 1]);if (!offsetList[selectedId]) {offsetList[selectedId] = {"isoffset": true,"offsetZ": 0};} else {for (let key in offsetList) {offsetList[key].isoffset = false;}offsetList[selectedId].isoffset = true;}} else {for (let key in offsetList) {offsetList[key].isoffset = false;}}}, Cesium.ScreenSpaceEventType.MOUSE_MOVE);setInterval(function() {var layertop = scene.layers.find('sichuan432602');for (let key in offsetList) {if (offsetList[key].isoffset) {if (offsetList[key].offsetZ < 20000) {offsetList[key].offsetZ = offsetList[key].offsetZ + 1000;layertop.setObjsTranslate([key], new Cesium.Cartesian3(0, 0, offsetList[key].offsetZ))}} else {if (offsetList[key].offsetZ > 0) {offsetList[key].offsetZ = offsetList[key].offsetZ - 500;layertop.setObjsTranslate([key], new Cesium.Cartesian3(0, 0, offsetList[key].offsetZ))}}}}, 20)}if (typeof Cesium !== 'undefined') {window.startupCalled = true;onload(Cesium);}</script></body>
</html>

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.rhkb.cn/news/2707.html

如若内容造成侵权/违法违规/事实不符,请联系长河编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Linux的常用命令(三)

目录 六、网络通信命令 1.网络通信命令ping 2.网络通信命令ifconfig 七、系统命令 1. 系统命令shutdown 2. 系统命令reboot 八、vi编辑器 六、网络通信命令 1.网络通信命令ping 命令名称&#xff1a;ping 命令所在路径&#xff1a;/usr/sbin/ping 执行权限&#xff…

SQL Prompt 插件

SQL Prompt 插件 注&#xff1a;SQL Prompt插件提供智能代码补全、SQL格式化、代码自动提示和快捷输入等功能&#xff0c;非常方便&#xff0c;可以自行去尝试体会。 1、问题 SSMS&#xff08;SQL Server Management Studio&#xff09;是SQL Server自带的管理工具&#xff0c…

《小迪安全》学习笔记05

目录 读取&#xff1a; 写入&#xff1a; &#xff08;其中的读取和写入时我认为比较重要的&#xff0c;所以单独做成了目录&#xff0c;这里的读取和写入是指在进行sql注入的时候与本地文件进行的交互&#xff09; 好久没发博客了。。。从这篇开始的小迪安全学习笔记就开始…

SpringCloud源码-Ribbon

一、Spring定制化RestTemplate&#xff0c;预留出RestTemplate定制化扩展点 org.springframework.cloud.client.loadbalancer.LoadBalancerAutoConfiguration 二、Ribbon定义RestTemplate Ribbon扩展点功能 org.springframework.cloud.netflix.ribbon.RibbonAutoConfiguratio…

Linux 常用命令 - chmod 【改变文件或目录权限】

简介 “chmod” 这个命令来自于 “change mode” 的缩写&#xff0c;用于更改文件或目录的访问权限。这个命令允许用户设定谁可以读取、写入或执行一个文件。在 Linux 和其他类 Unix 系统中&#xff0c;文件权限对系统安全和用户隐私至关重要。 Linux/Unix 的文件调用权限分为…

Linux系统离线部署MySQL详细教程(带每步骤图文教程)

1、登录官网下载对应的安装包 MySQL :: Developer Zone 2、将压缩包上传到服务器上&#xff0c;这里直接上传到/usr/local路径上 使用sftp工具上传到/usr/local目录上 3、解压压缩包 tar -xf mysql-8.0.39-linux-glibc2.17-x86_64.tar.xz 4、将mysql-8.0.39-linux-glibc2.17…

PyTorch使用教程(1)—PyTorch简介

PyTorch是一个开源的深度学习框架&#xff0c;由Facebook人工智能研究院&#xff08;FAIR&#xff09;于2016年开发并发布&#xff0c;其主要特点包括自动微分功能和动态计算图的支持&#xff0c;使得模型建立更加灵活‌。官网网址&#xff1a;https://pytorch.org。以下是关于…

Linux浅谈——管道、网络配置和客户端软件的使用

目录 一、管道 1、管道符 2、过滤功能 3、特殊功能 4、扩展处理 5、xargs命令扩展 二、网络配置 1、ifconfig查看网络信息 2、配置文件详解 网卡配置文件位置 3、systemctl查看网卡状态 4、systemctl启动/重启/停止网卡 三、客户端软件 1、什么是SSH 2、常用SSH终…

arcgis中生成格网矢量带高度

效果 1、数据准备 (1)矢量边界(miain.shp) (2)DEM(用于提取格网标高) (3)DSM(用于提取格网最高点) 2、根据矢量范围生成格网 模板范围选择矢量边界,像元宽度和高度根据坐标系来输入,我这边是4326的,所以输入的是弧度,输出格网矢量gewang.shp 3、分区统计 …

IEC103 转 ModbusTCP 网关

一、产品概述 IEC103 转 ModbusTCP 网关型号 SG-TCP-IEC103 &#xff0c;是三格电子推出的工业级网关&#xff08;以下简 称网关&#xff09;&#xff0c;主要用于 IEC103 数据采集、 DLT645-1997/2007 数据采集&#xff0c; IEC103 支持遥测和遥 信&#xff0c;可接…

Android BottomNavigationView不加icon使text垂直居中,完美解决。

这个问题网上千篇一律的设置iconsize为0&#xff0c;labale固定什么的&#xff0c;都没有效果。我的这个基本上所有人用都会有效果。 问题解决之前的效果&#xff1a;垂直方向&#xff0c;文本不居中&#xff0c;看着很难受 问题解决之后&#xff1a;舒服多了 其实很简单&…

【蓝桥杯】43687.赢球票

题目描述 某机构举办球票大奖赛。获奖选手有机会赢得若干张球票。 主持人拿出 N 张卡片&#xff08;上面写着 1⋯N 的数字&#xff09;&#xff0c;打乱顺序&#xff0c;排成一个圆圈。 你可以从任意一张卡片开始顺时针数数: 1,2,3 ⋯ ⋯ 如果数到的数字刚好和卡片上的数字…

(01)FreeRTOS移植到STM32

一、以STM32的裸机工程模板 任意模板即可 二、去官网上下载FreeRTOS V9.0.0 源码 在移植之前&#xff0c;我们首先要获取到 FreeRTOS 的官方的源码包。这里我们提供两个下载 链 接 &#xff0c; 一 个 是 官 网 &#xff1a; http://www.freertos.org/ &#xff0c; 另…

金融项目实战 05|Python实现接口自动化——登录接口

目录 一、代码实现自动化理论及流程 二、脚本实现的理论和准备工作 1、抽取功能转为自动化用例 2、搭建环境(测试工具) 3、搭建目录结构 三、登录接口脚本实现 1、代码编写 1️⃣api目录 2️⃣script目录 2、断言 3、参数化 1️⃣编写数据存储文件&#xff1a;jso…

C# .NetCore 使用 Flurl.Http 与 HttpClient 请求处理流式响应

AI对话接口采用流式返回&#xff1a; 1、使用Flurl处理返回的数据流 using Flurl; using Flurl.Http; [HttpPost] public async Task<string> GetLiushiChatLaw() { //1、请求参数&#xff0c;根据实际情况 YourModel request new YourModel();string allStr …

南京地铁路线和站点2021-2030含规划线路shp数据arcmap地铁图坐标wgs84无偏移内容分析测评

南京地铁路线与站点数据是地理信息系统&#xff08;GIS&#xff09;中常用的一种数据格式&#xff0c;主要用来表示城市轨道交通网络。在本压缩包中&#xff0c;包含的是2021年至2030年&#xff0c;包括规划线路的南京地铁信息&#xff0c;数据类型为Shapefile&#xff08;shp&…

Web3D交互展示:重塑产品展示的新维度

在当今数字化时代&#xff0c;如何高效、直观地展示产品成为企业营销的关键一环。传统的二维图片和视频展示虽然在一定程度上能够传达产品信息&#xff0c;但往往缺乏沉浸感和互动性&#xff0c;难以满足消费者日益增长的体验需求。在此背景下&#xff0c;Web3D交互展示应运而生…

JVM远程调试原理剖析

一、如何开启JVM远程调试 当一个 Java 应用启动时&#xff0c;JVM 会根据启动参数配置其运行环境。使用 -agentlib:jdwp 参数启动远程调试功能&#xff0c;JVM 会初始化调试代理。 agentlib:jdwptransportdt_socket,servery,suspendn,address*:5005 -jar your_application.jar…

人工智能之深度学习-[1]-了解深度学习

深度学习 深度学习&#xff08;Deep Learning&#xff09;是机器学习&#xff08;Machine Learning&#xff09;的一种方法&#xff0c;它通过模拟人脑的神经网络结构来进行学习和推理。深度学习使用多层神经网络来分析和建模数据&#xff0c;尤其擅长处理大量数据和复杂模式的…

【C语言】_字符串追加/连接函数strcat

目录 1. 函数声明与功能 2. 使用示例 3. 注意事项 4. 模拟实现 4.1 第一版&#xff1a;判空返回值对标strcatconst保证不可修改 4.2 第二版&#xff1a;优化\0的单独拼接 1. 函数声明与功能 char * strcat ( char * destination, const char * source ); strcat函数功能…