[][src]Module shapefile::record

Re-exports

pub use record::multipatch::Multipatch;
pub use record::multipatch::PatchType;
pub use record::multipoint::Multipoint;
pub use record::multipoint::MultipointM;
pub use record::multipoint::MultipointZ;
pub use record::point::Point;
pub use record::point::PointM;
pub use record::point::PointZ;
pub use record::poly::Polygon;
pub use record::poly::PolygonM;
pub use record::poly::PolygonZ;
pub use record::poly::Polyline;
pub use record::poly::PolylineM;
pub use record::poly::PolylineZ;

Modules

io
multipatch

Module for the Multipatch shape

multipoint

Module with the definition of Multipoint(M, Z)

point

Module with the definition of Point, PointM and PointZ

poly

Module with the definition of Polyline(M,Z) and Polygon(M,Z)

Structs

BBox

2D (x, y) Bounding box

PartIterator

Iterator over the parts of a Multipart shape

Enums

Shape

enum of Shapes that can be read or written to a shapefile

Constants

NO_DATA

Value inferior to this are considered as NO_DATA

Traits

ConcreteReadableShape
ConcreteShape

Simple Trait to store the type of the shape

ConcreteShapeFromShape
EsriShape
HasShapeType

Traits to be able to retrieve the ShapeType corresponding to the type

MultipartShape

Trait for the Shapes that may have multiple parts

MultipointShape

Trait that allows access to the slice of points of shapes that have multiple points (all the shapes except Point, PointM, PoinZ shapes.

ReadableShape

Trait implemented by all the Shapes that can be read

WritableShape

Trait implemented by all Shapes that can be written

Functions

convert_shapes_to_vec_of

Function that can converts a Vec<Shape> to a vector of any real struct (ie Polyline, Multipatch, etc) if all the Shapes in the Vec are of the correct corresponding variant.