1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
#![crate_name = "geos"] #![crate_type = "lib"] extern crate c_vec; extern crate libc; extern crate num; #[cfg(any(feature = "geo", feature = "dox"))] extern crate geo_types; #[cfg(any(feature = "geo", feature = "dox"))] extern crate wkt; extern crate geos_sys; #[cfg(all(feature = "geo", test))] #[macro_use] extern crate doc_comment; #[cfg(all(feature = "geo", test))] doctest!("../README.md"); pub(crate) mod functions; pub use context_handle::{ ContextHandle, }; pub use coord_seq::{ CoordSeq, }; pub use enums::{ ByteOrder, CoordDimensions, Dimensions, GeometryTypes, Ordinate, Orientation, OutputDimension, }; #[cfg(any(feature = "v3_6_0", feature = "dox"))] pub use enums::{ Precision, }; pub use functions::{ orientation_index, version, }; #[cfg(any(feature = "v3_7_0", feature = "dox"))] pub use functions::{ segment_intersection, }; pub use geometry::{ Geometry, }; pub use prepared_geometry::{ PreparedGeometry, }; pub use wkb_writer::{ WKBWriter, }; pub use wkt_writer::{ WKTWriter, }; mod context_handle; mod coord_seq; mod error; #[cfg(any(feature = "geo", feature = "dox"))] pub mod from_geo; mod geometry; mod prepared_geometry; #[cfg(any(feature = "geo", feature = "dox"))] pub mod to_geo; pub use error::{ Error, GResult, }; #[cfg(any(feature = "geo", feature = "dox"))] mod voronoi; #[cfg(any(feature = "geo", feature = "dox"))] pub use voronoi::{ compute_voronoi, }; mod enums; mod traits; mod wkb_writer; mod wkt_writer; pub(crate) use traits::{ AsRaw, }; pub use traits::{ ContextInteractions, ContextHandling }; #[cfg(test)] mod test;