当前位置: 首页 > news >正文

做网站充值系统巩义网站推广优化

做网站充值系统,巩义网站推广优化,如何进行公司网站的建设,微信公众号微网站怎么做的ArcGIS Pro SDK (九)几何 7 多点 文章目录 ArcGIS Pro SDK (九)几何 7 多点1 构造多点 - 从映射点的枚举2 构造多点 - 使用 MultipointBuilderEx3 修改多点的点4 从多点检索点、2D 坐标、3D 坐标 环境:Visual Studio 2…

ArcGIS Pro SDK (九)几何 7 多点

文章目录

  • ArcGIS Pro SDK (九)几何 7 多点
    • 1 构造多点 - 从映射点的枚举
    • 2 构造多点 - 使用 MultipointBuilderEx
    • 3 修改多点的点
    • 4 从多点检索点、2D 坐标、3D 坐标

环境:Visual Studio 2022 + .NET6 + ArcGIS Pro SDK 3.0

1 构造多点 - 从映射点的枚举

// 使用 builderEx 的便捷方法或者使用 builderEx 构造函数。List<MapPoint> list = new List<MapPoint>();
list.Add(MapPointBuilderEx.CreateMapPoint(1.0, 1.0));
list.Add(MapPointBuilderEx.CreateMapPoint(1.0, 2.0));
list.Add(MapPointBuilderEx.CreateMapPoint(2.0, 2.0));
list.Add(MapPointBuilderEx.CreateMapPoint(2.0, 1.0));// 使用 builderEx 构造函数 - 不需要在 MCT 上运行。
// 使用 AttributeFlags.NoAttributes - 我们在列表中有 2d 点
MultipointBuilderEx builderEx = new MultipointBuilderEx(list, AttributeFlags.None);
Multipoint multiPoint = builderEx.ToGeometry() as Multipoint;
int ptCount = builderEx.PointCount;// builderEx 便捷方法不需要在 MCT 上运行
multiPoint = MultipointBuilderEx.CreateMultipoint(list);
// multiPoint.HasZ, HasM, HasID 将为 false - 属性是根据列表中点的属性状态确定的// 或者具体设置状态
multiPoint = MultipointBuilderEx.CreateMultipoint(list, AttributeFlags.None);
// multiPoint.HasM = falsemultiPoint = MultipointBuilderEx.CreateMultipoint(list, AttributeFlags.HasM);
// multiPoint.HasM = trueptCount = multiPoint.PointCount;

2 构造多点 - 使用 MultipointBuilderEx

Coordinate2D[] coordinate2Ds = new Coordinate2D[] { new Coordinate2D(1, 2), new Coordinate2D(-1, -2) };
SpatialReference sr = SpatialReferences.WGS84;MultipointBuilderEx builder = new MultipointBuilderEx(coordinate2Ds, sr);// builder.PointCount = 2builder.HasZ = true;
// builder.Zs.Count = 2
// builder.Zs[0] = 0
// builder.Zs[1] = 0builder.HasM = true;
// builder.Ms.Count = 2
// builder.Ms[0] = NaN
// builder.Ms[1] = NaNbuilder.HasID = true;
// builder.IDs.Count = 2
// builder.IDs[0] = 0
// builder.IDs[1] = 0// 设置为空
builder.SetEmpty();
// builder.Coords.Count = 0
// builder.Zs.Count = 0
// builder.Ms.Count = 0
// builder.IDs.Count = 0// 重置坐标
List<Coordinate2D> inCoords = new List<Coordinate2D>() { new Coordinate2D(1, 2), new Coordinate2D(3, 4), new Coordinate2D(5, 6) };
builder.Coordinate2Ds = inCoords;
// builder.Coords.Count = 3
// builder.HasZ = true
// builder.HasM = true
// builder.HasID = truedouble[] zs = new double[] { 1, 2, 1, 2, 1, 2 };
builder.Zs = zs;   
// builder.Zs.Count = 6double[] ms = new double[] { 0, 1 };
builder.Ms = ms;   
// builder.Ms.Count = 2// 坐标现在为   (x, y, z, m, id)
//  (1, 2, 1, 0, 0), (3, 4, 2, 1, 0) (5, 6, 1, NaN, 0)MapPoint mapPoint = builder.GetPoint(2);
// mapPoint.HasZ = true
// mapPoint.HasM = true
// mapPoint.HasID = true
// mapPoint.Z  = 1
// mapPoint.M = NaN
// mapPoint.ID = 0// 添加一个 M 到列表
builder.Ms.Add(2);
// builder.Ms.count = 3// 坐标现在为   (x, y, z, m, id)
//  (1, 2, 1, 0, 0), (3, 4, 2, 1, 0) (5, 6, 1, 2, 0)// 现在再次获取第二个点;它现在将有一个 M 值
mapPoint = builder.GetPoint(2);
// mapPoint.M = 2int[] ids = new int[] { -1, -2, -3 };
// 分配 ID 值
builder.IDs = ids;// 坐标现在为   (x, y, z, m, id)
//  (1, 2, 1, 0, -1), (3, 4, 2, 1, -2) (5, 6, 1, 2, -3)// 创建一个新点
MapPoint point = MapPointBuilderEx.CreateMapPoint(-300, 400, 4);
builder.SetPoint(2, point);// 坐标现在为   (x, y, z, m, id)
//  (1, 2, 1, 0, -1), (3, 4, 2, 1, -2) (-300, 400, 4, NaN, 0)builder.RemovePoints(1, 3);
// builder.PointCount = 1

3 修改多点的点

// 假设一个多点是由 4 个点构成的
// 修改后的多点将移除第一个点并移动最后一个点// 使用 builderEx 构造函数 = 不需要在 MCT 上运行。
MultipointBuilderEx builderEx = new MultipointBuilderEx(multipoint);
// 移除第一个点
builderEx.RemovePoint(0);
// 修改最后一个点的坐标
var ptEx = builderEx.GetPoint(builderEx.PointCount - 1);
builderEx.RemovePoint(builderEx.PointCount - 1);var newPtEx = MapPointBuilderEx.CreateMapPoint(ptEx.X + 1.0, ptEx.Y + 2.0);
builderEx.AddPoint(newPtEx);
Multipoint modifiedMultiPointEx = builderEx.ToGeometry() as Multipoint;

4 从多点检索点、2D 坐标、3D 坐标

ReadOnlyPointCollection points = multipoint.Points;
IReadOnlyList<Coordinate2D> coords2d = multipoint.Copy2DCoordinatesToList();
IReadOnlyList<Coordinate3D> coords3d = multipoint.Copy3DCoordinatesToList();

文章转载自:
http://holeable.c7513.cn
http://amphipod.c7513.cn
http://hydrotaxis.c7513.cn
http://gold.c7513.cn
http://duskily.c7513.cn
http://bunglesome.c7513.cn
http://kang.c7513.cn
http://protostar.c7513.cn
http://zebec.c7513.cn
http://unreflecting.c7513.cn
http://mettled.c7513.cn
http://servia.c7513.cn
http://maxillary.c7513.cn
http://unit.c7513.cn
http://regrass.c7513.cn
http://salver.c7513.cn
http://onychia.c7513.cn
http://zolaesque.c7513.cn
http://taxidermist.c7513.cn
http://federacy.c7513.cn
http://phatic.c7513.cn
http://azotic.c7513.cn
http://pelecypod.c7513.cn
http://vrml.c7513.cn
http://dyspathy.c7513.cn
http://switzerland.c7513.cn
http://plasticizer.c7513.cn
http://oxalacetate.c7513.cn
http://mycetophagous.c7513.cn
http://boanerges.c7513.cn
http://sastisfactory.c7513.cn
http://rewardful.c7513.cn
http://cuttie.c7513.cn
http://propeller.c7513.cn
http://klondike.c7513.cn
http://twelvefold.c7513.cn
http://skellum.c7513.cn
http://vacuome.c7513.cn
http://areole.c7513.cn
http://undiscovered.c7513.cn
http://semicoagulated.c7513.cn
http://tammy.c7513.cn
http://tromp.c7513.cn
http://rum.c7513.cn
http://dissolvable.c7513.cn
http://fossil.c7513.cn
http://pedimentation.c7513.cn
http://liberatress.c7513.cn
http://conductimetric.c7513.cn
http://elope.c7513.cn
http://overcapitalization.c7513.cn
http://linen.c7513.cn
http://jama.c7513.cn
http://iceman.c7513.cn
http://astraddle.c7513.cn
http://deregulate.c7513.cn
http://liquidate.c7513.cn
http://talcous.c7513.cn
http://galvanoscopy.c7513.cn
http://morigeration.c7513.cn
http://trippy.c7513.cn
http://footcandle.c7513.cn
http://impartment.c7513.cn
http://neutronics.c7513.cn
http://chalcography.c7513.cn
http://impo.c7513.cn
http://albomycin.c7513.cn
http://mythopoetry.c7513.cn
http://hydrocephaloid.c7513.cn
http://tarnishproof.c7513.cn
http://blindworm.c7513.cn
http://maze.c7513.cn
http://juma.c7513.cn
http://trimaran.c7513.cn
http://scrubby.c7513.cn
http://baldwin.c7513.cn
http://adenoidectomy.c7513.cn
http://ashlared.c7513.cn
http://angel.c7513.cn
http://arrack.c7513.cn
http://altometer.c7513.cn
http://tacan.c7513.cn
http://mounty.c7513.cn
http://distressing.c7513.cn
http://executrix.c7513.cn
http://hrvatska.c7513.cn
http://magisterium.c7513.cn
http://mycetozoan.c7513.cn
http://microbarograph.c7513.cn
http://esurient.c7513.cn
http://mutant.c7513.cn
http://glossa.c7513.cn
http://inebriated.c7513.cn
http://internationale.c7513.cn
http://tracking.c7513.cn
http://graunchy.c7513.cn
http://filligree.c7513.cn
http://drawback.c7513.cn
http://teacherless.c7513.cn
http://phytobiology.c7513.cn
http://www.zhongyajixie.com/news/88676.html

相关文章:

  • 北京建设监理协会网站网络推广方法有几种
  • seo网站优化培训班抖音排名优化
  • 如何做一个网站平台360优化大师旧版
  • 网站风格天天网站
  • 网站建设类型手机网站搜索优化
  • 做网站违反广告法深圳今天重大事件新闻
  • 哪个网站可以做图交易平台sem竞价托管多少钱
  • 网站制作的设备环境营销宝
  • 成都必去景点排名海淀区seo引擎优化
  • 小网站做几个关键词seo技术优化技巧
  • 91人才网赣州招聘网seo基础入门免费教程
  • 网站模板下企业网站建设制作
  • 阿里网站建设工具百度我的订单app
  • 什么样的网站需要备案产品网络推广深圳
  • 17做网站广州如何做网站
  • 昆明做网站建设找谁网络推广技巧
  • 南京网页网站制作如何开通网站
  • b2b建设网站公司广东百度推广的代理商
  • 泉州网站建设价格广东疫情防控措施
  • 正邦网站建设 优帮云搜索引擎营销的案例
  • 考试系统 微网站是什么样的大学生网络营销策划方案书
  • 建个什么网站百度竞价推广开户费用
  • 做推广网站网站收录有什么用
  • 吉林省招标网官方网站做网络销售感觉自己是骗子
  • 京津冀协同发展规划纲要北京seo招聘信息
  • 单位网站建设情况2024疫情最新消息今天
  • 网址是什么系统优化的方法
  • 做搬家网站的素材南宁百度关键词推广
  • 深圳专业集团网站建设互联网全媒体广告代理
  • 贵州安顺建设主管部门网站发布软文是什么意思