[go: up one dir, main page]

Module record

Source
Expand description

Shape records

Re-exports§

pub use bbox::BBoxZ;
pub use bbox::GenericBBox;
pub use multipatch::Multipatch;
pub use multipatch::Patch;
pub use multipoint::Multipoint;
pub use multipoint::MultipointM;
pub use multipoint::MultipointZ;
pub use point::Point;
pub use point::PointM;
pub use point::PointZ;
pub use polygon::Polygon;
pub use polygon::PolygonM;
pub use polygon::PolygonRing;
pub use polygon::PolygonZ;
pub use polyline::Polyline;
pub use polyline::PolylineM;
pub use polyline::PolylineZ;

Modules§

bbox
Bounding Boxes
macros
multipatch
Module for the Multipatch shape
multipoint
Module with the definition of Multipoint, MultipointM and MultipointZ
point
Module with the definition of Point, PointM and PointZ
polygon
Module with the definition of Polygon, PolygonM, PolygonZ
polyline
Module with the definition of Polyline, PolylineM, PolylineZ
traits

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.