- 博客(10)
- 收藏
- 关注
原创 【C#】多边形面积
Vector2类见前文using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;namespace 多边形面积{ public
2020-11-15 14:09:23 1375 1
原创 【C#】点和线段/直线的距离/位置关系
Vector2类见前文using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;namespace dian_zhixian{
2020-11-15 14:04:52 1195
原创 【c#】四边形面积
(vector2类 见前篇)using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;namespace 四边形面积{ publ
2020-11-12 19:49:26 609
原创 【c#】点和三角形关系
(vector2类 见前篇)using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;namespace 点和三角形关系{ pu
2020-11-12 19:48:02 364
原创 【c#】新建一个关于向量计算的类
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Drawing;namespace pp{ class Vector2 { float m_fx; float m_fy; public Vector2() { }
2020-11-12 19:46:38 1356
原创 【C#】延长线
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;namespace diandian{ public partial c
2020-11-08 21:28:28 708
原创 【c#】平行四边形
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;namespace diandian{ public partial c
2020-11-08 21:26:06 1292
原创 【c#】窗体画线段判断是否相交
建一个类(Vector2),用于向量相关计算using System;using System.Collections.Generic;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;namespace xiangjiao{ class Vector2 { float m_fx; float m_fy;
2020-11-08 21:16:43 408
原创 【ArcGIS Engine二次开发(基于c#)】在MapControl绘制多边形
在MapControl绘制多边形MapControl的OnMouseDown事件主要代码:private void axMapControl1_OnMouseDown(object sender, ESRI.ArcGIS.Controls.IMapControlEvents2_OnMouseDownEvent e){ IGeometry pGe = axMapControl1.TrackPolygon(); IElement pElement = new PolygonElementCl
2020-10-20 18:18:25 1057
原创 【ArcGIS Engine二次开发(C#)】在MapControl设置鼠标点下的位置出现“Text”文本
2020.10.15作业要求:在MapControl设置鼠标点下的位置出现“Text”文本MapControl的OnMouseDown事件用到IPoint, IElement, IGraphicsContainer主要代码: private void axMapControl1_OnMouseDown(object sender, ESRI.ArcGIS.Controls.IMapControlEvents2_OnMouseDownEvent e) { IPoi
2020-10-17 13:53:25 808
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人