Enum shapefile::record::multipatch::Patch
source · pub enum Patch {
TriangleStrip(Vec<PointZ>),
TriangleFan(Vec<PointZ>),
OuterRing(Vec<PointZ>),
InnerRing(Vec<PointZ>),
FirstRing(Vec<PointZ>),
Ring(Vec<PointZ>),
}
Variants§
TriangleStrip(Vec<PointZ>)
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
TriangleFan(Vec<PointZ>)
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.
OuterRing(Vec<PointZ>)
The outer ring of a polygon.
InnerRing(Vec<PointZ>)
A hole of a polygon
FirstRing(Vec<PointZ>)
The first ring of a polygon of an unspecified type
Ring(Vec<PointZ>)
A ring of a polygon of an unspecified type