[][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;
pub use record::traits::MultipartShape;
pub use record::traits::MultipointShape;

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)

traits

Structs

BBox

2D (x, y) Bounding box

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

EsriShape
HasShapeType

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

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.