Presentation is loading. Please wait.

Presentation is loading. Please wait.

Spatial Information Systems (SIS) COMP 30110 Plane Subdivisions.

Similar presentations


Presentation on theme: "Spatial Information Systems (SIS) COMP 30110 Plane Subdivisions."— Presentation transcript:

1 Spatial Information Systems (SIS) COMP 30110 Plane Subdivisions

2 Overlayed sets of entities If we consider overlayed sets of entities only disjoint and meet relations are possible between two polygonsIf we consider overlayed sets of entities only disjoint and meet relations are possible between two polygons Overlayed sets of entities correspond to plane graphs in which we consider not only nodes (also called vertices) and edges but also the polygons (also called faces) bounded by closed cycles of edgesOverlayed sets of entities correspond to plane graphs in which we consider not only nodes (also called vertices) and edges but also the polygons (also called faces) bounded by closed cycles of edges f1f2 n7 n1 n2 n8 n4 n3 n5n6 n9 n10 n11 e1 = (n1,n2) e2 = …

3 Definitions Graph G: pair (V,E) with V set of vertices and E set of pairs of vertices. Edges can be drawn in a given space by representing each vertex as a point and each edge as a (not necessarily straight) line segment joining two pointsGraph G: pair (V,E) with V set of vertices and E set of pairs of vertices. Edges can be drawn in a given space by representing each vertex as a point and each edge as a (not necessarily straight) line segment joining two points Planar graph: graph that can be drawn in the Euclidean plane in such a way that its edges do not intersect each other, except at their endpointsPlanar graph: graph that can be drawn in the Euclidean plane in such a way that its edges do not intersect each other, except at their endpoints The embedding of a planar graph in the Euclidean plane is called a plane graphThe embedding of a planar graph in the Euclidean plane is called a plane graph A planar graph can be drawn in several different ways corresponding to different locations of the vertices (i.e. obtaining different plane graphs)A planar graph can be drawn in several different ways corresponding to different locations of the vertices (i.e. obtaining different plane graphs)

4 Examples 1 2 43 Planar graph and three possible embeddings in the plane 1 2 43 1 2 43 1 2 3 4

5 Definitions A straight-line plane graph is a connected plane graph where every edge is a straight line segmentA straight-line plane graph is a connected plane graph where every edge is a straight line segment A straigth line plane graph defines a partition of the plane into a collection of simply connected polygonal regions (i.e. regions without holes) called facesA straigth line plane graph defines a partition of the plane into a collection of simply connected polygonal regions (i.e. regions without holes) called faces Such a partition is called a plane subdivisionSuch a partition is called a plane subdivision

6 Plane subdivisions in GIS: examples Thematic maps:Thematic maps: Example:Example: land useland use vegetation layervegetation layer How do we represent them?How do we represent them? rural residential industrial wheat oats barley corn forest

7 Plane subdivisions Studied in the field of Computational Geometry [Preparata and Shamos 1985]Studied in the field of Computational Geometry [Preparata and Shamos 1985] Representations defined in this context have been used in GISRepresentations defined in this context have been used in GIS Entities in a plane subdivision: vertices, edges and facesEntities in a plane subdivision: vertices, edges and faces Euler formula: in a plane subdivision,Euler formula: in a plane subdivision, n – e + f = 1 n = # vertices e = # edges f = # (internal) faces It can also be shown that e and f are both linear in the number n of vertices. Therefore the space complexity for a plane subdivision is O(n)

8 Relations in a plane subdivision With three sets of entities, we can define nine ordered relations:With three sets of entities, we can define nine ordered relations: Vertex-basedVertex-based Edge-basedEdge-based Face-basedFace-based V F E EF FF FE FV VF EV VE EE VV

9 Vertex-based relations VE (vertex-edge): a vertex P is associated with the list of edges having P as an endpoint (edge incident in P), sorted in counter- clockwise orderVE (vertex-edge): a vertex P is associated with the list of edges having P as an endpoint (edge incident in P), sorted in counter- clockwise order VV (vertex-vertex): a vertex P is associated with the list of the endpoints (different from P) of the edges having P as an endpoint, sorted in counter-clockwise orderVV (vertex-vertex): a vertex P is associated with the list of the endpoints (different from P) of the edges having P as an endpoint, sorted in counter-clockwise order VF (vertex-face): a vertex P is associated with the list of the faces having P as a vertex, sorted in counter-clockwise orderVF (vertex-face): a vertex P is associated with the list of the faces having P as a vertex, sorted in counter-clockwise order P1 P2 P3 P e1 e2 e3 f1 f2 f3 VE(P) = [e1,e2,e3] VV(P) = [P1,P2,P3] VF(P) = [f1,f2,f3]

10 Face-based relations FE (face-edge): face f is associated with the list of edges on its boundary, sorted in counter-clockwise orderFE (face-edge): face f is associated with the list of edges on its boundary, sorted in counter-clockwise order FV (face-vertex): face f is associated with the list of vertices on its boundary, sorted in counter-clockwise orderFV (face-vertex): face f is associated with the list of vertices on its boundary, sorted in counter-clockwise order FF (face-face): face f is associated with the list of faces adjacent to f along an edge, sorted in counter-clockwise orderFF (face-face): face f is associated with the list of faces adjacent to f along an edge, sorted in counter-clockwise order f f4 f3 f2 f1 P1 P2 P3P4 e1 e2 e3 e4 FE(f) = [e1,e2,e3,e4] FV(f) = [P1,P2,P3,P4] FF(f) = [f1,f2,f3,f4]

11 Edge-based relations EV (edge-vertex): an edge e is associated with the pair of its endpointsEV (edge-vertex): an edge e is associated with the pair of its endpoints EF (edge-face): an edge e is associated with the pair of faces having e on their boundaryEF (edge-face): an edge e is associated with the pair of faces having e on their boundary if EV(e)=(P i, P j ), then EF(e)=(f i, f j ), where f i and f j lie on the left and on the right with respect to edge e oriented from P i to P jif EV(e)=(P i, P j ), then EF(e)=(f i, f j ), where f i and f j lie on the left and on the right with respect to edge e oriented from P i to P j jPjjPj iPiiPi e jfjjfj ifiifi

12 Edge-based relations (cont.d) EE (edge-edge): an edge e is associated with a pair of edges, each incident in one endpoint of eEE (edge-edge): an edge e is associated with a pair of edges, each incident in one endpoint of e if EV(e)=(P i, P j ), then EE(e)=(e i, e j ), where e i is the first edge encountered after e moving counter-clockwise around P i and e j is the first edge encountered after e moving counter- clockwise around P jif EV(e)=(P i, P j ), then EE(e)=(e i, e j ), where e i is the first edge encountered after e moving counter-clockwise around P i and e j is the first edge encountered after e moving counter- clockwise around P j Note that we do not consider all edges incident in endpoints of e but only 2 of them!!Note that we do not consider all edges incident in endpoints of e but only 2 of them!! jPjjPj iPiiPi e jfjjfj ifiifi ieiiei jejjej

13 Plane subdivisions: particular cases Some plane subdivision have particular propertiesSome plane subdivision have particular properties Examples include: - Triangular plane subdivisions (triangulations) - Voronoi diagrams Both these types of subdivisions have been studied in computational geometry and widely used in GISBoth these types of subdivisions have been studied in computational geometry and widely used in GIS

14 Triangulations Plane subdivisions with triangular facesPlane subdivisions with triangular faces Commonly used as a basis for digital terrain models based on a given set of sample points (more later)Commonly used as a basis for digital terrain models based on a given set of sample points (more later) In particular, Delaunay triangulations have very good propertiesIn particular, Delaunay triangulations have very good properties

15 Delaunay Triangulations Intuitively: given a set V of points, among all the triangulations that can be generated with the points of V, the Delaunay triangulation is the one in which triangles are as much equiangular as possibleIntuitively: given a set V of points, among all the triangulations that can be generated with the points of V, the Delaunay triangulation is the one in which triangles are as much equiangular as possible In other words, Delaunay triangulations tend to avoid long and thin triangles: important for numerical problemsIn other words, Delaunay triangulations tend to avoid long and thin triangles: important for numerical problems tP Does lie inside t or on its boundary? Does P lie inside t or on its boundary?

16 Empty circle property P1 P3 P4 P2 t P1 P3 P4 P2 t’t’ t does not satisfy the empty circle property t ’ satisfies the empty circle property Let  be a triangulation of a set of points V: a triangle t of  is said to satisfy the empty circle property if the circle circumscribing t does not contain any points of V in its interior. t is called a Delaunay triangleLet  be a triangulation of a set of points V: a triangle t of  is said to satisfy the empty circle property if the circle circumscribing t does not contain any points of V in its interior. t is called a Delaunay triangle

17 Delaunay Triangulations (cont.d) A triangulation  of a set of points V is a Delaunay triangulation if each triangle of  satisfies  the empty circle propertyA triangulation  of a set of points V is a Delaunay triangulation if each triangle of  satisfies  the empty circle property Another definition:Another definition: A triangulation  of V is Delaunay triangulation if each internal edge e is locally optimal (i.e., by exchanging it with the other diagonal e’ of the quadrilateral composed of the two triangles sharing e, the minimum internal angle becomes smaller) The Delaunay triangulation of V is unique ifThe Delaunay triangulation of V is unique if no four points of V are cocircular P1 P3 P4 P2 e e’

18 Voronoi Diagrams Given a set V of points in the plane, the Voronoi Diagram for V is the partition of the plane into polygons such that each polygon contains one point p of V and is composed of all points in the plane that are closer to p than to any other point of V.Given a set V of points in the plane, the Voronoi Diagram for V is the partition of the plane into polygons such that each polygon contains one point p of V and is composed of all points in the plane that are closer to p than to any other point of V.

19 Voronoi Diagrams (cont.d) Property: the straight-line dual of the Voronoi diagram of V is a triangulation of VProperty: the straight-line dual of the Voronoi diagram of V is a triangulation of V Dual: obtained by replacing each polygon with a point and each point with a polygon. Connect all pairs of points contained in Voronoi cells that share an edgeDual: obtained by replacing each polygon with a point and each point with a polygon. Connect all pairs of points contained in Voronoi cells that share an edge

20 Voronoi Diagrams (cont.d) Voronoi diagrams are used as underlying structures to solve proximity problems (queries):Voronoi diagrams are used as underlying structures to solve proximity problems (queries): Nearest neighbour (what is the point of V nearest to P?)Nearest neighbour (what is the point of V nearest to P?) K-nearest neighbours (what are the k points of V nearest to P?)K-nearest neighbours (what are the k points of V nearest to P?) Etc.Etc. P


Download ppt "Spatial Information Systems (SIS) COMP 30110 Plane Subdivisions."

Similar presentations


Ads by Google