代码拉取完成,页面将自动刷新
同步操作将从 小豆子/jts-learning 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
JTS提供了一套操作几何向量的java类库
早期版本 com.vividsolutions,已废弃不在维护
现在版本 com.locationtech.jts 由eclipse开源基金会托管
jts-core核心类库使用说明
具体结合示例代码详细介绍JTS下面核心包下面的geometry、coordinate、wkb、wkt等操作使用说明
计算点到线的垂线
延线的画线方向,判断点在线的右侧还是左侧
线到线投影
根据起始点求一个线的子线
计算线上面距离点起点一定距离的交点坐标
扩buffer,左扩N米右扩N米
单位换算
核心模块:
jts-core
- 核心类库:提供geometry model, operations, algorithms, and spatial data structuresjts-io-common
- I/O classes for open spatial formatsThe following modules depend on proprietary libraries, and are not built by default:
jts-io-ora
- Oracle reader and writerjts-io-sde
- SDE reader and writerThe following modules are applications and data for testing and working with JTS
jts-tests
- The JTS XML test suite and the Test Runner applicationjts-app
-The TestBuilder GUI, for working with JTS geometry interactively<dependency>
<groupId>org.locationtech.jts</groupId>
<artifactId>jts-core</artifactId>
<version>1.16.1</version>
</dependency>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。