Esri / Esri/geometry-api-java

On the Problem of Finding Intersection Points for Polylines

Abierto
#320 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
710
Forks
269
Merge medio
7 d 23 h
PR fusionados (30 d)
1

Descripción

Why is the following code not a point but a line:
SpatialReference s = SpatialReference.create(4450);

Polyline lineA = new Polyline();
lineA.startPath(new Point(352908.85 , 3422574.91));
lineA.lineTo(new Point(352910.00, 3422580.00));

Polyline lineB = new Polyline();
lineB.startPath(new Point(352921.52 , 3422543.38));
lineB.lineTo(new Point(352908.85 , 3422574.91));

Geometry intersection = GeometryEngine.intersect(lineA, lineB, s);
Geometry.Type type = intersection.getType();
System.out.println();

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.