shapereader
Read ESRI shapefiles
Data Structures | Enumerations
shp-multipatch.h File Reference

Go to the source code of this file.

Data Structures

struct  shp_multipatch_t
 MultiPatch. More...
 

Enumerations

enum  shp_part_type_t {
  SHP_PART_TYPE_TRIANGLE_STRIP = 0 , SHP_PART_TYPE_TRIANGLE_FAN = 1 , SHP_PART_TYPE_OUTER_RING = 2 , SHP_PART_TYPE_INNER_RING = 3 ,
  SHP_PART_TYPE_FIRST_RING = 4 , SHP_PART_TYPE_RING = 5
}
 Part types. More...
 

Enumeration Type Documentation

◆ shp_part_type_t

Enumerator
SHP_PART_TYPE_TRIANGLE_STRIP 

A linked strip of triangles, where every vertex (after the first two) completes a new triangle.

A new triangle is always formed by connecting the new vertex with its two immediate predecessors.

SHP_PART_TYPE_TRIANGLE_FAN 

A linked fan of triangles, where every vertex (after the first two) completes a new triangle.

A new triangle is always formed by connecting the new vertex with its immediate predecessor and the first vertex of the part.

SHP_PART_TYPE_OUTER_RING 

The outer ring of a polygon.

SHP_PART_TYPE_INNER_RING 

A hole of a polygon.

SHP_PART_TYPE_FIRST_RING 

The first ring of a polygon of an unspecified type.

SHP_PART_TYPE_RING 

A ring of a polygon of an unspecified type.