Struct gdal::vector::Geometry[][src]

pub struct Geometry { /* fields omitted */ }

OGR Geometry

Methods

impl Geometry
[src]

Create a geometry by parsing a WKT string.

Create a rectangular geometry from West, South, East and North values.

Serialize the geometry as JSON.

Serialize the geometry as WKT.

Important traits for Vec<u8>

Compute the convex hull of this geometry.

May or may not contain a reference to a SpatialRef: if not, it returns an Ok(None); if it does, it tries to build a SpatialRef. If that succeeds, it returns an Ok(Some(SpatialRef)), otherwise, you get the Err.

Trait Implementations

impl Drop for Geometry
[src]

Executes the destructor for this type. Read more

impl Clone for Geometry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<Geometry> for Geometry<f64>
[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for Geometry

impl !Sync for Geometry