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§
- Concrete
Readable Shape - Concrete
Shape - Simple Trait to store the type of the shape
- Esri
Shape - HasShape
Type - Traits to be able to retrieve the ShapeType corresponding to the type
- Readable
Shape - Trait implemented by all the Shapes that can be read
- Writable
Shape - 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 theShapesin theVecare of the correct corresponding variant.