On the Problem of Finding Intersection Points for Polylines
- Ngôn ngữ chính
- Java
- Star
- 710
- Fork
- 269
- Merge trung bình
- 7 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
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();
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by reproducing the example at GeometryEngine.intersect(lineA, lineB, s) with the supplied coordinates and inspect the returned Geometry.Type. Compare the observed result with the API's expected intersection semantics, then document the explanation or identify the behavior that needs correction.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- computer-graphics
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 30/100