15
overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note: the majority is drawn as powerpoint arrows. The newer system is to draw polygons and is used at the last cases. The first cases should be updated to that system.

Overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note:

Embed Size (px)

DESCRIPTION

# 7, no overlap A B # 12, new hole A B # 8, no overlap A B # 9, no overlap A B # 10, no overlap A B # 11, touch inside 1 A B 0 1 2

Citation preview

Page 1: Overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note:

overlay_casesin test/algorithms/overlay/overlay_cases.hpp

Used in the unit tests:get_turnstraverse

some of them are used in union/intersection

Note: the majority is drawn as powerpoint arrows. The newer system is to draw polygons and is used at the last cases. The first cases should be updated to that system.

Page 2: Overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note:

# 1, simplex

AB

# 2, simple-4

A

B

# 4, holes

A B

# 3, touch

A

B

# 5, multi-ip

A

B

# 6, common

A

B

Page 3: Overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note:

# 7, no overlap

A

B

# 12, new hole

A

B

# 8, no overlapA

B

# 9, no overlapA

B

# 10, no overlap

A

B

# 11, touch inside 1

A

B

0

1

2

Page 4: Overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note:

# 13, no overlap

A

B

# 18, common

# 14, no overlapA

B

# 15, no overlap

# 16, encapsulated # 17, common

A

B

A

B AB

AB

Page 5: Overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note:

# 19, no overlap

A

B

# 24, touch inside# 22, touch L # 23, cross in

# 21, filled hole# 20, equalAB

A

B

A

B

A

B

A

B

Page 6: Overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note:

# 25, touch R

# 30, concave*2# 28, cross out # 29, cross in

# 27, cross out# 26, touch LRA B A B A

B

A

B

A

B

A

B

Page 7: Overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note:

# 31, touch coll^2

# 36, int+touch# 34, cross out coll # 35, inside conc

# 33, touch coll.# 32, touch coll

A

B

AB

AB

A

B

A

B

A

B

Page 8: Overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note:

# 37 int. point

# 42 equalwith collinear,degenerate

# 40 union points # 41 equalwith collinear

# 39, bends# 38 int.pointA

B

BA

AB

A

B

AB

AB

Page 9: Overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note:

# 43, keyhole (invalid)

# 48, # 46, self-tangent # 47, self-inters.

# 45, self-inters.# 44, self-tangent

A

B

AB

AB

AB

AB

Page 10: Overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note:

# 49

# 54 node#52, partially eq fake hole # 53 semi-interior

# 51, fit# 50, col. oppos.

Two reps, one with tangent hole; one with (not SF valid) self-touch

Page 11: Overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note:

# 55, 2xsemi-interior

# 60#58 # 59

# 57 semi-multi+simplex# 56 semi-interior+semi-multi

Page 12: Overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note:

# many situations

A

5

0

10

15

20 50 10 15 20

B

Page 13: Overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note:

#new polygon within hole

5

0

10

15

20 50 10 15 20

Page 14: Overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note:

#collinear overlap cases

5

0

10

15

20 50 10 15 20

Page 15: Overlay_cases in test/algorithms/overlay/overlay_cases.hpp Used in the unit tests: get_turns traverse some of them are used in union/intersection Note:

# 101, line-line

AB