๊ด€๊ณ„ ์—ฐ์‚ฐ (True or False)

  • Equals
    • ๋‘ ๊ฐœ๊ฐ€ ์™„์ „ํžˆ ๋™์น˜์ธ ๊ฒฝ์šฐ
  • Disjoint
    • ๋‘ ๊ฐœ๊ฐ€ ํ•˜๋‚˜๋„ ๊ฒน์น˜์ง€ ์•Š๋Š”, ์ฆ‰ ์„œ๋กœ์†Œ์ธ ๊ฒฝ์šฐ
  • Intersects
    • ๊ต์ง‘ํ•ฉ
    • ๋šซ๊ณ  ์ง€๋‚˜๊ฐ€๋Š” ๊ฒฝ์šฐ, ๊ฒน์น˜๋Š” ๊ฒฝ์šฐ
  • Touches
    • ํ…Œ๋‘๋ฆฌ์— ๊ฑธ๋ฆฌ๋Š” ๊ฒฝ์šฐ
  • Crosses
    • ๊ต์ฐจํ•  ๋•Œ
    • ๊ทธ๋Ÿฐ๋ฐ, ๋น„๊ตํ•˜๊ณ ์ž ํ•˜๋Š” ๋‘๊ฐœ์˜ gemoetry๊ฐ€ ์„œ๋กœ ์ฐจ์›์ด ๋‹ค๋ฅด๊ฑฐ๋‚˜ (์ , ์„ , ๋ฉด) ํ˜น์€ ์„ ์ด์–ด์•ผ๋งŒ ์—ฐ์‚ฐ์ด ์„ฑ๋ฆฝ
    • ์  & ์„ , ์„  & ๋ฉด, ์„  & ์„ ๋งŒ ์ •์˜๊ฐ€ ๊ฐ€๋Šฅ
  • Within / Contains
    • ์™„์ „ํžˆ ํฌํ•จ๋  ๋–„ ์„ฑ๋ฆฝ
  • Overlaps
    • ๊ฐ™์€ ์ฐจ์›๋ผ๋ฆฌ ๋น„๊ต ๊ฐ€๋Šฅ

๊ฒฐ๊ณผ ์—ฐ์‚ฐ (๊ฒฐ๊ณผ๊ฐ€ Geometry)

  • Intersection
    • ๊ต์ง‘ํ•ฉ
  • Difference
    • ์ฐจ์ง‘ํ•ฉ
  • SymDifference
    • ๋„๋„›
  • Union
    • ํ•ฉ์ง‘ํ•ฉ
  • Buffer
    • ํŠน์ • Geometry์—์„œ x๋งŒํผ ๋–จ์–ด์ง„ geometry๋ฅผ ์คŒ
    • ๋‹น์—ฐํžˆ ์Œ์ˆ˜๋„ ๊ฐ€๋Šฅ
  • ConvexHull
    • ํŠน์ • Polygon์„ ๊ฐ์Œ€ ์ˆ˜ ์žˆ๋Š” ์ตœ์†Œ ๋ฉด์  ๋‹ค๊ฐํ˜•
  • Envelope
    • ํŠน์ • Polygon์„ ๊ฐ์Œ€ ์ˆ˜ ์žˆ๋Š” ์ตœ์†Œ Box
    • a.k.a
      • Minumun Bounding Rectangle
      • Bounding Box
      • Bounds
      • Envelope
      • BOX

DE-9IM

  • Dimensionally Extended 9-Intersection Model
  • ๋‘ ์ง€์˜ค๋ฉ”ํŠธ๋ฆฌ๊ฐ™์˜ ๊ณต๊ฐ„๊ด€๊ณ„๋ฅผ interesection์„ ํ†ตํ•ด ๊ตฌํ•˜๋Š” ์œ„์ƒ ๋ชจ๋ธ
  • ์˜ˆ์‹œ
    • ๋‘๊ฐœ์˜ Polygon์ด ์žˆ์„ ๋•Œ, ์—ฐ์‚ฐ์„ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ •์˜ํ•œ๋‹ค.
    • E (Exterior)
      • ํ•ด๋‹น Polygon์˜ ๋ฐ”๊นฅ์ชฝ ๋ฉด
    • I (Interior)
      • ํ•ด๋‹น Polygon์˜ ์•ˆ์ชฝ ๋ฉด
    • B (Border)
      • ๊ฒฝ๊ณ„ LineString
    • dim (dimension)
      • ํŠน์ • geometry์˜ ์ฐจ์› (์ : 0, ์„ : 1, ๋ฉด: 2)
    • A, B Polygon์— ๋Œ€ํ•ด์„œ ๊ฐ 3๊ฐœ์˜ ์—ฐ์‚ฐ ์†์„ฑ (E, I, B)๋ฅผ ๊ฐ€์งˆ ์ˆ˜ ์žˆ๊ณ  ์ด๋ฅผ ๋ชจ๋‘ dim ์—ฐ์‚ฐ์„ ํ•œ๋‹ค๋ฉด 3x3 ํ–‰๋ ฌ์ด ๋„์ถœ๋œ๋‹ค.
    • ์ด ํ–‰๋ ฌ ๊ด€๊ณ„์˜ ๋ชจ์–‘์„ ๊ธฐ๋ฐ˜์œผ๋กœ ๊ด€๊ณ„ ์—ฐ์‚ฐ์˜ ๊ฒฐ๊ณผ๋ฅผ ์•Œ ์ˆ˜ ์žˆ๋‹ค.
  • ํ•œ๋ฒˆ์— 2๊ฐœ ์ด์ƒ์˜ ๊ด€๊ณ„๋ฅผ ์•Œ์•„๋ด์•ผ ํ•œ๋‹ค๋ฉด ์—ฐ์‚ฐ๋Ÿ‰ ์ธก๋ฉด์—์„œ ํ•ด๋‹น ๋ชจ๋ธ์ด ๋” ์ข‹์„ ์ˆ˜ ์žˆ๋‹ค.

Reference