Hex Artifact Content
Not logged in

Artifact 1ee7356ec55db8c852d4c2019559bc621f23bcdf:

Wiki page [topo-intro] by sandro 2012-01-05 11:35:43.
0000: 44 20 32 30 31 32 2d 30 31 2d 30 35 54 31 31 3a  D 2012-01-05T11:
0010: 33 35 3a 34 33 2e 39 35 33 0a 4c 20 74 6f 70 6f  35:43.953.L topo
0020: 2d 69 6e 74 72 6f 0a 50 20 64 30 38 63 61 63 36  -intro.P d08cac6
0030: 31 31 35 62 39 66 31 38 35 33 63 31 61 38 35 36  115b9f1853c1a856
0040: 34 63 31 61 61 34 30 33 64 61 31 62 32 38 30 39  4c1aa403da1b2809
0050: 30 0a 55 20 73 61 6e 64 72 6f 0a 57 20 34 31 32  0.U sandro.W 412
0060: 31 0a 3c 74 61 62 6c 65 20 63 65 6c 6c 73 70 61  1.<table cellspa
0070: 63 69 6e 67 3d 22 31 32 22 20 77 69 64 74 68 3d  cing="12" width=
0080: 22 31 30 30 25 22 3e 0d 0a 3c 74 72 3e 3c 74 64  "100%">..<tr><td
0090: 20 63 6f 6c 73 70 61 6e 3d 22 32 22 3e 0d 0a 3c   colspan="2">..<
00a0: 74 61 62 6c 65 20 77 69 64 74 68 3d 22 31 30 30  table width="100
00b0: 25 22 20 62 67 63 6f 6c 6f 72 3d 22 23 66 30 66  %" bgcolor="#f0f
00c0: 30 66 38 22 3e 0d 0a 3c 74 72 3e 3c 74 64 20 61  0f8">..<tr><td a
00d0: 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0d 0a  lign="center">..
00e0: 3c 68 31 3e 54 6f 70 6f 6c 6f 67 79 3a 20 61 20  <h1>Topology: a 
00f0: 71 75 69 63 6b 20 69 6e 74 72 6f 3c 2f 68 31 3e  quick intro</h1>
0100: 0d 0a 3c 2f 74 64 3e 3c 2f 74 72 3e 3c 2f 74 61  ..</td></tr></ta
0110: 62 6c 65 3e 0d 0a 3c 74 61 62 6c 65 20 77 69 64  ble>..<table wid
0120: 74 68 3d 22 31 30 30 25 22 3e 3c 74 72 3e 0d 0a  th="100%"><tr>..
0130: 3c 74 64 20 77 69 64 74 68 3d 22 33 33 25 22 20  <td width="33%" 
0140: 61 6c 69 67 6e 3d 22 6c 65 66 74 22 3e 3c 2f 74  align="left"></t
0150: 64 3e 0d 0a 3c 74 64 20 61 6c 69 67 6e 3d 22 63  d>..<td align="c
0160: 65 6e 74 65 72 22 3e 3c 61 20 68 72 65 66 3d 22  enter"><a href="
0170: 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69 61  https://www.gaia
0180: 2d 67 69 73 2e 69 74 2f 66 6f 73 73 69 6c 2f 6c  -gis.it/fossil/l
0190: 69 62 73 70 61 74 69 61 6c 69 74 65 2f 77 69 6b  ibspatialite/wik
01a0: 69 3f 6e 61 6d 65 3d 6d 69 73 63 2d 64 6f 63 73  i?name=misc-docs
01b0: 22 3e 62 61 63 6b 20 74 6f 20 69 6e 64 65 78 3c  ">back to index<
01c0: 2f 61 3e 3c 2f 74 64 3e 0d 0a 3c 74 64 20 77 69  /a></td>..<td wi
01d0: 64 74 68 3d 22 33 33 25 22 20 61 6c 69 67 6e 3d  dth="33%" align=
01e0: 22 72 69 67 68 74 22 3e 3c 61 20 68 72 65 66 3d  "right"><a href=
01f0: 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 67 61 69  "https://www.gai
0200: 61 2d 67 69 73 2e 69 74 2f 66 6f 73 73 69 6c 2f  a-gis.it/fossil/
0210: 6c 69 62 73 70 61 74 69 61 6c 69 74 65 2f 77 69  libspatialite/wi
0220: 6b 69 3f 6e 61 6d 65 3d 74 6f 70 6f 2d 73 74 61  ki?name=topo-sta
0230: 72 74 22 3e 6e 65 78 74 20 70 61 67 65 3c 2f 61  rt">next page</a
0240: 3e 3c 2f 74 64 3e 0d 0a 3c 2f 74 72 3e 3c 2f 74  ></td>..</tr></t
0250: 61 62 6c 65 3e 0d 0a 3c 74 72 3e 3c 74 64 20 77  able>..<tr><td w
0260: 69 64 74 68 3d 22 35 30 25 22 3e 0d 0a 3c 74 61  idth="50%">..<ta
0270: 62 6c 65 20 77 69 64 74 68 3d 22 31 30 30 25 22  ble width="100%"
0280: 20 62 67 63 6f 6c 6f 72 3d 22 23 66 30 66 30 66   bgcolor="#f0f0f
0290: 38 22 20 63 65 6c 6c 73 70 61 63 69 6e 67 3d 22  8" cellspacing="
02a0: 34 22 20 63 65 6c 6c 70 61 64 64 69 6e 67 3d 22  4" cellpadding="
02b0: 34 22 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 0d 0a 3c  4">..<tr><td>..<
02c0: 68 34 3e 4f 47 43 2d 53 46 53 20 47 65 6f 6d 65  h4>OGC-SFS Geome
02d0: 74 72 69 65 73 3c 2f 68 34 3e 0d 0a 41 73 20 79  tries</h4>..As y
02e0: 6f 75 20 61 6c 72 65 61 64 79 20 6b 6e 6f 77 2c  ou already know,
02f0: 20 74 68 65 20 73 74 61 6e 64 61 72 64 20 72 65   the standard re
0300: 70 72 65 73 65 6e 74 61 74 69 6f 6e 20 6f 66 20  presentation of 
0310: 47 65 6f 6d 65 74 72 69 65 73 20 73 75 70 70 6f  Geometries suppo
0320: 72 74 65 64 20 62 79 20 61 6e 79 20 65 78 69 73  rted by any exis
0330: 74 69 6e 67 20 53 70 61 74 69 61 6c 20 44 42 4d  ting Spatial DBM
0340: 53 20 69 73 20 62 61 73 65 64 20 6f 6e 20 74 68  S is based on th
0350: 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 53 46 53 20  e following SFS 
0360: 63 6c 61 73 73 65 73 20 28 6e 6f 6e 2d 74 6f 70  classes (non-top
0370: 6f 6c 6f 67 69 63 61 6c 29 3a 3c 75 6c 3e 0d 0a  ological):<ul>..
0380: 3c 6c 69 3e 28 4d 55 4c 54 49 29 50 4f 49 4e 54  <li>(MULTI)POINT
0390: 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 28 4d 55 4c 54  </li>..<li>(MULT
03a0: 49 29 4c 49 4e 45 53 54 52 49 4e 47 3c 2f 6c 69  I)LINESTRING</li
03b0: 3e 0d 0a 3c 6c 69 3e 28 4d 55 4c 54 49 29 50 4f  >..<li>(MULTI)PO
03c0: 4c 59 47 4f 4e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e  LYGON</li>..<li>
03d0: 47 45 4f 4d 45 54 52 59 43 4f 4c 4c 45 43 54 49  GEOMETRYCOLLECTI
03e0: 4f 4e 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a  ON</li>..</ul>..
03f0: 3c 68 34 3e 54 6f 70 6f 6c 6f 67 79 3c 2f 68 34  <h4>Topology</h4
0400: 3e 0d 0a 41 6e 20 61 6c 74 65 72 6e 61 74 69 76  >..An alternativ
0410: 65 20 72 65 70 72 65 73 65 6e 74 61 74 69 6f 6e  e representation
0420: 20 28 3c 61 20 68 72 65 66 3d 22 68 74 74 70 3a   (<a href="http:
0430: 2f 2f 65 6e 2e 77 69 6b 69 70 65 64 69 61 2e 6f  //en.wikipedia.o
0440: 72 67 2f 77 69 6b 69 2f 50 6c 61 6e 61 72 5f 67  rg/wiki/Planar_g
0450: 72 61 70 68 22 3e 70 6c 61 6e 61 72 20 67 72 61  raph">planar gra
0460: 70 68 3c 2f 61 3e 29 20 69 73 20 62 61 73 65 64  ph</a>) is based
0470: 20 6f 6e 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e   on the followin
0480: 67 20 65 6c 65 6d 65 6e 74 73 3a 3c 75 6c 3e 0d  g elements:<ul>.
0490: 0a 3c 6c 69 3e 61 20 3c 62 3e 4e 4f 44 45 3c 2f  .<li>a <b>NODE</
04a0: 62 3e 20 73 69 6d 70 6c 79 20 69 73 20 61 20 6e  b> simply is a n
04b0: 6f 74 61 62 6c 65 20 70 6f 69 6e 74 2c 20 61 6e  otable point, an
04c0: 64 20 63 61 6e 20 62 65 20 61 73 73 75 6d 65 64  d can be assumed
04d0: 20 74 6f 0d 0a 62 65 20 65 71 75 69 76 61 6c 65   to..be equivale
04e0: 6e 74 20 74 6f 20 53 46 53 20 50 4f 49 4e 54 2e  nt to SFS POINT.
04f0: 0d 0a 3c 69 3e 45 78 61 6d 70 6c 65 73 3c 2f 69  ..<i>Examples</i
0500: 3e 3a 20 3c 69 3e 4e 31 3c 2f 69 3e 2c 20 3c 69  >: <i>N1</i>, <i
0510: 3e 4e 32 3c 2f 69 3e 2c 20 3c 69 3e 4e 33 3c 2f  >N2</i>, <i>N3</
0520: 69 3e 2c 20 3c 69 3e 4e 34 3c 2f 69 3e 2c 20 3c  i>, <i>N4</i>, <
0530: 69 3e 4e 35 3c 2f 69 3e 0d 0a 3c 2f 6c 69 3e 0d  i>N5</i>..</li>.
0540: 0a 3c 6c 69 3e 61 6e 20 3c 62 3e 45 44 47 45 3c  .<li>an <b>EDGE<
0550: 2f 62 3e 20 69 73 20 61 6e 20 6f 72 69 65 6e 74  /b> is an orient
0560: 65 64 20 70 61 74 68 20 6a 6f 69 6e 69 6e 67 20  ed path joining 
0570: 74 77 6f 20 6e 6f 64 65 73 2c 20 61 6e 64 20 63  two nodes, and c
0580: 61 6e 20 0d 0a 62 65 20 61 73 73 75 6d 65 64 20  an ..be assumed 
0590: 74 6f 20 62 65 20 65 71 75 69 76 61 6c 65 6e 74  to be equivalent
05a0: 20 74 6f 20 53 46 53 20 4c 49 4e 45 53 54 52 49   to SFS LINESTRI
05b0: 4e 47 2e 3c 62 72 3e 0d 0a 3c 69 3e 45 78 61 6d  NG.<br>..<i>Exam
05c0: 70 6c 65 73 3c 2f 69 3e 3a 20 3c 69 3e 45 31 3c  ples</i>: <i>E1<
05d0: 2f 69 3e 2c 20 3c 69 3e 45 32 3c 2f 69 3e 2c 20  /i>, <i>E2</i>, 
05e0: 3c 69 3e 45 33 3c 2f 69 3e 2c 20 3c 69 3e 45 34  <i>E3</i>, <i>E4
05f0: 3c 2f 69 3e 2c 20 3c 69 3e 45 35 3c 2f 69 3e 2c  </i>, <i>E5</i>,
0600: 0d 0a 3c 69 3e 45 36 3c 2f 69 3e 2c 20 3c 69 3e  ..<i>E6</i>, <i>
0610: 45 37 3c 2f 69 3e 0d 0a 3c 2f 6c 69 3e 0d 0a 3c  E7</i>..</li>..<
0620: 6c 69 3e 61 20 3c 62 3e 46 41 43 45 3c 2f 62 3e  li>a <b>FACE</b>
0630: 20 69 73 20 61 20 70 6f 72 74 69 6f 6e 20 6f 66   is a portion of
0640: 20 74 68 65 20 70 6c 61 6e 65 20 64 65 6c 69 6d   the plane delim
0650: 69 74 65 64 20 62 79 20 65 64 67 65 73 2c 0d 0a  ited by edges,..
0660: 61 6e 64 20 63 61 6e 20 62 65 20 61 73 73 75 6d  and can be assum
0670: 65 64 20 74 6f 20 62 65 20 65 71 75 69 76 61 6c  ed to be equival
0680: 65 6e 74 20 74 6f 20 53 46 53 20 50 4f 4c 59 47  ent to SFS POLYG
0690: 4f 4e 2e 3c 62 72 3e 0d 0a 3c 69 3e 45 78 61 6d  ON.<br>..<i>Exam
06a0: 70 6c 65 73 3c 2f 69 3e 3a 20 3c 69 3e 46 31 3c  ples</i>: <i>F1<
06b0: 2f 69 3e 2c 20 3c 69 3e 46 32 3c 2f 69 3e 2c 20  /i>, <i>F2</i>, 
06c0: 3c 69 3e 46 33 3c 2f 69 3e 2c 20 3c 69 3e 46 34  <i>F3</i>, <i>F4
06d0: 3c 2f 69 3e 0d 0a 3c 2f 6c 69 3e 0d 0a 3c 6c 69  </i>..</li>..<li
06e0: 3e 61 20 3c 62 3e 54 6f 70 6f 43 75 72 76 65 3c  >a <b>TopoCurve<
06f0: 2f 62 3e 20 69 73 20 61 20 63 6f 6c 6c 65 63 74  /b> is a collect
0700: 69 6f 6e 20 6f 66 20 6f 6e 65 20 28 6f 72 20 6d  ion of one (or m
0710: 6f 72 65 29 20 45 64 67 65 73 2c 20 61 6e 64 20  ore) Edges, and 
0720: 63 61 6e 0d 0a 62 65 20 61 73 73 75 6d 65 64 20  can..be assumed 
0730: 74 6f 20 62 65 20 65 71 75 69 76 61 6c 65 6e 74  to be equivalent
0740: 20 74 6f 20 53 46 53 20 4d 55 4c 54 49 4c 49 4e   to SFS MULTILIN
0750: 45 53 54 52 49 4e 47 2e 3c 2f 6c 69 3e 0d 0a 3c  ESTRING.</li>..<
0760: 6c 69 3e 61 20 3c 62 3e 54 6f 70 6f 53 75 72 66  li>a <b>TopoSurf
0770: 61 63 65 3c 2f 62 3e 20 69 73 20 61 20 63 6f 6c  ace</b> is a col
0780: 6c 65 63 74 69 6f 6e 20 6f 66 20 6f 6e 65 20 28  lection of one (
0790: 6f 72 20 6d 6f 72 65 29 20 46 61 63 65 73 2c 20  or more) Faces, 
07a0: 61 6e 64 20 63 61 6e 0d 0a 62 65 20 61 73 73 75  and can..be assu
07b0: 6d 65 64 20 74 6f 20 62 65 20 65 71 75 69 76 61  med to be equiva
07c0: 6c 65 6e 74 20 74 6f 20 53 46 53 20 4d 55 4c 54  lent to SFS MULT
07d0: 49 50 4f 4c 59 47 4f 4e 2e 3c 62 72 3e 0d 0a 3c  IPOLYGON.<br>..<
07e0: 69 3e 45 78 61 6d 70 6c 65 3c 2f 69 3e 3a 20 46  i>Example</i>: F
07f0: 61 63 65 73 20 3c 69 3e 46 32 3c 2f 69 3e 20 61  aces <i>F2</i> a
0800: 6e 64 20 3c 69 3e 46 34 3c 2f 69 3e 20 62 65 6c  nd <i>F4</i> bel
0810: 6f 6e 67 73 20 74 6f 20 74 68 65 20 73 61 6d 65  ongs to the same
0820: 20 4d 75 6c 74 69 50 6f 6c 79 67 6f 6e 2e 3c 2f   MultiPolygon.</
0830: 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 3c 2f 74 64  li>..</ul>..</td
0840: 3e 3c 2f 74 72 3e 3c 2f 74 61 62 6c 65 3e 0d 0a  ></tr></table>..
0850: 3c 2f 74 64 3e 3c 74 64 3e 0d 0a 3c 74 61 62 6c  </td><td>..<tabl
0860: 65 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 0d 0a 3c 69  e>..<tr><td>..<i
0870: 6d 67 20 73 72 63 3d 22 68 74 74 70 3a 2f 2f 77  mg src="http://w
0880: 77 77 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 67  ww.gaia-gis.it/g
0890: 61 69 61 2d 73 69 6e 73 2f 74 6f 70 6f 31 2e 70  aia-sins/topo1.p
08a0: 6e 67 22 20 61 6c 74 3d 22 74 6f 70 6f 6c 6f 67  ng" alt="topolog
08b0: 79 2d 31 22 3e 0d 0a 3c 2f 74 64 3e 3c 2f 74 72  y-1">..</td></tr
08c0: 3e 3c 2f 74 61 62 6c 65 3e 0d 0a 3c 2f 74 64 3e  ></table>..</td>
08d0: 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 20 63  </tr>..<tr><td c
08e0: 6f 6c 73 70 61 6e 3d 22 32 22 3e 0d 0a 3c 74 61  olspan="2">..<ta
08f0: 62 6c 65 20 77 69 64 74 68 3d 22 31 30 30 25 22  ble width="100%"
0900: 20 62 67 63 6f 6c 6f 72 3d 22 23 66 30 66 30 66   bgcolor="#f0f0f
0910: 38 22 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 0d 0a 43  8">..<tr><td>..C
0920: 6f 6e 73 74 72 61 69 6e 74 73 20 6f 6e 20 4e 6f  onstraints on No
0930: 64 65 73 3a 3c 75 6c 3e 0d 0a 3c 6c 69 3e 74 77  des:<ul>..<li>tw
0940: 6f 20 28 6f 72 20 6d 6f 72 65 29 20 4e 6f 64 65  o (or more) Node
0950: 73 20 63 61 6e 20 6e 65 76 65 72 20 6f 76 65 72  s can never over
0960: 6c 61 70 3c 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d  lap</li>..</ul>.
0970: 0a 43 6f 6e 73 74 72 61 69 6e 74 73 20 6f 6e 20  .Constraints on 
0980: 45 64 67 65 73 3a 3c 75 6c 3e 0d 0a 3c 6c 69 3e  Edges:<ul>..<li>
0990: 65 61 63 68 20 45 64 67 65 20 61 6c 77 61 79 73  each Edge always
09a0: 20 68 61 73 20 61 20 3c 69 3e 3c 75 3e 6e 6f 64   has a <i><u>nod
09b0: 65 2d 66 72 6f 6d 3c 2f 75 3e 3c 2f 69 3e 20 61  e-from</u></i> a
09c0: 6e 64 20 61 20 3c 69 3e 3c 75 3e 6e 6f 64 65 2d  nd a <i><u>node-
09d0: 74 6f 3c 2f 75 3e 3c 2f 69 3e 3a 20 74 68 69 73  to</u></i>: this
09e0: 20 69 6d 70 6c 69 65 73 20 74 68 61 74 20 61 6e   implies that an
09f0: 79 20 45 64 67 65 20 69 73 20 3c 69 3e 3c 75 3e  y Edge is <i><u>
0a00: 6f 72 69 65 6e 74 65 64 3c 2f 75 3e 3c 2f 69 3e  oriented</u></i>
0a10: 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 3c 69 3e 3c 75  </li>..<li><i><u
0a20: 3e 6e 6f 64 65 2d 66 72 6f 6d 3c 2f 75 3e 3c 2f  >node-from</u></
0a30: 69 3e 20 61 6e 64 20 61 20 3c 69 3e 3c 75 3e 6e  i> and a <i><u>n
0a40: 6f 64 65 2d 74 6f 3c 2f 75 3e 3c 2f 69 3e 20 6d  ode-to</u></i> m
0a50: 61 79 20 62 65 20 74 68 65 20 73 61 6d 65 3a 20  ay be the same: 
0a60: 61 6e 64 20 69 6e 20 74 68 69 73 20 63 61 73 65  and in this case
0a70: 20 77 65 20 68 61 76 65 20 61 20 3c 69 3e 3c 75   we have a <i><u
0a80: 3e 73 65 6c 66 2d 63 6c 6f 73 65 64 3c 2f 75 3e  >self-closed</u>
0a90: 3c 2f 69 3e 20 45 64 67 65 20 28 61 6b 61 20 52  </i> Edge (aka R
0aa0: 69 6e 67 29 2e 20 0d 0a 3c 69 3e 45 78 61 6d 70  ing). ..<i>Examp
0ab0: 6c 65 3c 2f 69 3e 3a 20 3c 69 3e 45 31 3c 2f 69  le</i>: <i>E1</i
0ac0: 3e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 61 6e 20 45  ></li>..<li>an E
0ad0: 64 67 65 20 63 61 6e 6e 6f 74 20 63 6f 6e 74 61  dge cannot conta
0ae0: 69 6e 20 6c 6f 6f 70 73 20 28 6f 72 20 61 6e 79  in loops (or any
0af0: 20 6f 74 68 65 72 20 6b 69 6e 64 20 6f 66 20 73   other kind of s
0b00: 65 6c 66 2d 69 6e 74 65 72 73 65 63 74 69 6f 6e  elf-intersection
0b10: 29 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 74 77 6f 20  )</li>..<li>two 
0b20: 28 6f 72 20 6d 6f 72 65 29 20 45 64 67 65 73 20  (or more) Edges 
0b30: 63 61 6e 20 69 6e 74 65 72 73 65 63 74 20 6f 6e  can intersect on
0b40: 6c 79 20 77 68 65 72 65 20 61 20 4e 6f 64 65 20  ly where a Node 
0b50: 69 73 20 64 65 66 69 6e 65 64 2e 0d 0a 3c 69 3e  is defined...<i>
0b60: 45 78 61 6d 70 6c 65 3c 2f 69 3e 3a 20 45 64 67  Example</i>: Edg
0b70: 65 73 20 3c 69 3e 45 33 3c 2f 69 3e 2c 20 3c 69  es <i>E3</i>, <i
0b80: 3e 45 34 3c 2f 69 3e 20 61 6e 64 20 3c 69 3e 45  >E4</i> and <i>E
0b90: 35 3c 2f 69 3e 20 69 6e 74 65 72 73 65 63 74 20  5</i> intersect 
0ba0: 65 78 61 63 74 65 6c 79 20 61 74 20 4e 6f 64 65  exactely at Node
0bb0: 20 3c 69 3e 4e 34 3c 2f 69 3e 3c 2f 6c 69 3e 0d   <i>N4</i></li>.
0bc0: 0a 3c 6c 69 3e 6e 6f 20 4e 6f 64 65 20 63 61 6e  .<li>no Node can
0bd0: 20 6f 76 65 72 6c 61 70 20 61 6e 20 45 64 67 65   overlap an Edge
0be0: 20 65 78 63 65 70 74 20 74 68 61 6e 20 61 74 20   except than at 
0bf0: 69 74 73 20 65 78 74 65 72 6d 69 74 69 65 73 3c  its extermities<
0c00: 2f 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 52 65 70  /li>..</ul>..Rep
0c10: 72 65 73 65 6e 74 61 74 69 6f 6e 20 6f 66 20 46  resentation of F
0c20: 61 63 65 73 3a 3c 75 6c 3e 0d 0a 3c 6c 69 3e 65  aces:<ul>..<li>e
0c30: 61 63 68 20 46 61 63 65 20 69 73 20 64 65 6c 69  ach Face is deli
0c40: 6d 69 74 65 64 20 62 79 20 61 20 73 65 74 20 6f  mited by a set o
0c50: 66 20 45 64 67 65 73 3a 20 3c 69 3e 45 78 61 6d  f Edges: <i>Exam
0c60: 70 6c 65 3c 2f 69 3e 3a 20 46 61 63 65 20 3c 69  ple</i>: Face <i
0c70: 3e 46 33 3c 2f 69 3e 0d 0a 69 73 20 64 65 6c 69  >F3</i>..is deli
0c80: 6d 69 74 65 64 20 62 79 20 45 64 67 65 73 20 3c  mited by Edges <
0c90: 69 3e 45 32 3c 2f 69 3e 2c 20 3c 69 3e 45 35 3c  i>E2</i>, <i>E5<
0ca0: 2f 69 3e 2c 20 3c 69 3e 45 34 3c 2f 69 3e 20 61  /i>, <i>E4</i> a
0cb0: 6e 64 20 3c 69 3e 45 36 3c 2f 69 3e 3c 2f 6c 69  nd <i>E6</i></li
0cc0: 3e 0d 0a 3c 6c 69 3e 61 20 46 61 63 65 20 63 61  >..<li>a Face ca
0cd0: 6e 20 62 65 20 64 65 6c 69 6d 69 74 65 64 20 62  n be delimited b
0ce0: 79 20 61 20 73 69 6e 67 6c 65 20 45 64 67 65 3a  y a single Edge:
0cf0: 20 3c 69 3e 45 78 61 6d 70 6c 65 3c 2f 69 3e 3a   <i>Example</i>:
0d00: 20 46 61 63 65 20 3c 69 3e 46 32 3c 2f 69 3e 20   Face <i>F2</i> 
0d10: 0d 0a 69 73 20 64 65 6c 69 6d 69 74 65 64 20 62  ..is delimited b
0d20: 79 20 45 64 67 65 20 3c 69 3e 45 31 3c 2f 69 3e  y Edge <i>E1</i>
0d30: 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 61 20 46 61 63  </li>..<li>a Fac
0d40: 65 20 6d 75 73 74 20 61 6c 77 61 79 73 20 68 61  e must always ha
0d50: 76 65 20 61 6e 20 3c 69 3e 3c 75 3e 65 78 74 65  ve an <i><u>exte
0d60: 72 69 6f 72 20 62 6f 75 6e 64 61 72 79 3c 2f 69  rior boundary</i
0d70: 3e 3c 2f 75 3e 3b 20 62 75 74 20 63 61 6e 20 63  ></u>; but can c
0d80: 61 6e 20 6c 65 67 69 74 69 6d 61 74 65 6c 79 20  an legitimately 
0d90: 68 61 76 65 20 6f 6e 65 20 28 6f 72 20 6d 6f 72  have one (or mor
0da0: 65 29 20 3c 69 3e 3c 75 3e 69 6e 74 65 72 69 6f  e) <i><u>interio
0db0: 72 20 62 6f 75 6e 64 61 72 69 65 73 3c 2f 69 3e  r boundaries</i>
0dc0: 3c 2f 75 3e 20 0d 0a 28 61 6b 61 20 3c 69 3e 68  </u> ..(aka <i>h
0dd0: 6f 6c 65 73 3c 2f 69 3e 29 20 61 74 20 74 68 65  oles</i>) at the
0de0: 20 73 61 6d 65 20 74 69 6d 65 2e 3c 62 72 3e 0d   same time.<br>.
0df0: 0a 3c 69 3e 45 78 61 6d 70 6c 65 3c 2f 69 3e 3a  .<i>Example</i>:
0e00: 20 46 61 63 65 20 3c 69 3e 46 31 3c 2f 69 3e 20   Face <i>F1</i> 
0e10: 69 73 20 64 65 6c 69 6d 69 74 65 64 20 62 79 20  is delimited by 
0e20: 45 64 67 65 73 20 3c 69 3e 45 31 3c 2f 69 3e 2c  Edges <i>E1</i>,
0e30: 20 3c 69 3e 45 32 3c 2f 69 3e 2c 0d 0a 3c 69 3e   <i>E2</i>,..<i>
0e40: 45 33 3c 2f 69 3e 20 61 6e 64 20 3c 69 3e 45 37  E3</i> and <i>E7
0e50: 3c 2f 69 3e 3c 75 6c 3e 0d 0a 3c 6c 69 3e 45 64  </i><ul>..<li>Ed
0e60: 67 65 73 20 3c 69 3e 45 32 3c 2f 69 3e 2c 20 3c  ges <i>E2</i>, <
0e70: 69 3e 45 33 3c 2f 69 3e 20 61 6e 64 20 3c 69 3e  i>E3</i> and <i>
0e80: 45 37 3c 2f 69 3e 20 72 65 70 72 65 73 65 6e 74  E7</i> represent
0e90: 20 74 68 65 20 3c 69 3e 3c 75 3e 65 78 74 65 72   the <i><u>exter
0ea0: 69 6f 72 20 62 6f 75 6e 64 61 72 79 3c 2f 75 3e  ior boundary</u>
0eb0: 3c 2f 69 3e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 45  </i></li>..<li>E
0ec0: 64 67 65 20 3c 69 3e 45 31 3c 2f 69 3e 20 72 65  dge <i>E1</i> re
0ed0: 70 72 65 73 65 6e 74 73 20 61 6e 20 3c 69 3e 3c  presents an <i><
0ee0: 75 3e 69 6e 74 65 72 69 6f 72 20 62 6f 75 6e 64  u>interior bound
0ef0: 61 72 79 3c 2f 75 3e 3c 2f 69 3e 20 28 3c 69 3e  ary</u></i> (<i>
0f00: 68 6f 6c 65 3c 2f 69 3e 29 3c 2f 6c 69 3e 3c 2f  hole</i>)</li></
0f10: 75 6c 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 3c 2f 74 64  ul>..</ul>..</td
0f20: 3e 3c 2f 74 72 3e 3c 2f 74 61 62 6c 65 3e 0d 0a  ></tr></table>..
0f30: 3c 2f 74 61 62 6c 65 3e 0d 0a 3c 74 61 62 6c 65  </table>..<table
0f40: 20 77 69 64 74 68 3d 22 31 30 30 25 22 3e 3c 74   width="100%"><t
0f50: 72 3e 0d 0a 3c 74 64 20 77 69 64 74 68 3d 22 33  r>..<td width="3
0f60: 33 25 22 20 61 6c 69 67 6e 3d 22 6c 65 66 74 22  3%" align="left"
0f70: 3e 3c 2f 74 64 3e 0d 0a 3c 74 64 20 61 6c 69 67  ></td>..<td alig
0f80: 6e 3d 22 63 65 6e 74 65 72 22 3e 3c 61 20 68 72  n="center"><a hr
0f90: 65 66 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e  ef="https://www.
0fa0: 67 61 69 61 2d 67 69 73 2e 69 74 2f 66 6f 73 73  gaia-gis.it/foss
0fb0: 69 6c 2f 6c 69 62 73 70 61 74 69 61 6c 69 74 65  il/libspatialite
0fc0: 2f 77 69 6b 69 3f 6e 61 6d 65 3d 6d 69 73 63 2d  /wiki?name=misc-
0fd0: 64 6f 63 73 22 3e 62 61 63 6b 20 74 6f 20 69 6e  docs">back to in
0fe0: 64 65 78 3c 2f 61 3e 3c 2f 74 64 3e 0d 0a 3c 74  dex</a></td>..<t
0ff0: 64 20 77 69 64 74 68 3d 22 33 33 25 22 20 61 6c  d width="33%" al
1000: 69 67 6e 3d 22 72 69 67 68 74 22 3e 3c 61 20 68  ign="right"><a h
1010: 72 65 66 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77  ref="https://www
1020: 2e 67 61 69 61 2d 67 69 73 2e 69 74 2f 66 6f 73  .gaia-gis.it/fos
1030: 73 69 6c 2f 6c 69 62 73 70 61 74 69 61 6c 69 74  sil/libspatialit
1040: 65 2f 77 69 6b 69 3f 6e 61 6d 65 3d 74 6f 70 6f  e/wiki?name=topo
1050: 2d 73 74 61 72 74 22 3e 6e 65 78 74 20 70 61 67  -start">next pag
1060: 65 3c 2f 61 3e 3c 2f 74 64 3e 0d 0a 3c 2f 74 72  e</a></td>..</tr
1070: 3e 3c 2f 74 61 62 6c 65 3e 0d 0a 0a 5a 20 32 63  ></table>...Z 2c
1080: 62 38 31 33 33 30 65 63 32 61 32 35 37 66 31 37  b81330ec2a257f17
1090: 34 30 34 62 38 62 38 65 36 31 34 61 31 36 0a     404b8b8e614a16.