Struct geo::MultiLineString [] [src]

pub struct MultiLineString<T>(pub Vec<LineString<T>>)
where
    T: Float
;

A collection of LineStrings

Can be created from a Vec of LineStrings, or from an Iterator which yields LineStrings.

Iterating over this objects, yields the component LineStrings.

Trait Implementations

impl<T: PartialEq> PartialEq for MultiLineString<T> where
    T: Float
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<T: Clone> Clone for MultiLineString<T> where
    T: Float
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for MultiLineString<T> where
    T: Float
[src]

[src]

Formats the value using the given formatter.

impl<T: Float, ILS: Into<LineString<T>>> From<ILS> for MultiLineString<T>
[src]

[src]

Performs the conversion.

impl<T: Float, ILS: Into<LineString<T>>> FromIterator<ILS> for MultiLineString<T>
[src]

[src]

Creates a value from an iterator. Read more

impl<T: Float> IntoIterator for MultiLineString<T>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more

impl<T> Length<T> for MultiLineString<T> where
    T: Float
[src]

[src]

Calculation of the length of a Line Read more

impl<T> Distance<T, Point<T>> for MultiLineString<T> where
    T: Float
[src]

[src]

Minimum distance from a MultiLineString to a Point

impl<T> BoundingBox<T> for MultiLineString<T> where
    T: Float
[src]

[src]

Return the BoundingBox for a MultiLineString

impl<T> Simplify<T> for MultiLineString<T> where
    T: Float
[src]

[src]

Returns the simplified representation of a geometry, using the Ramer–Douglas–Peucker algorithm Read more

impl<T> SimplifyVWPreserve<T> for MultiLineString<T> where
    T: Float + SpadeFloat
[src]

[src]

Returns the simplified representation of a geometry, using a topology-preserving variant of the Visvalingam-Whyatt algorithm. Read more

impl<T> SimplifyVW<T> for MultiLineString<T> where
    T: Float
[src]

[src]

Returns the simplified representation of a geometry, using the Visvalingam-Whyatt algorithm Read more

impl<T> ConvexHull<T> for MultiLineString<T> where
    T: Float
[src]

[src]

Returns the convex hull of a Polygon. The hull is always oriented counter-clockwise. Read more

impl<T> Rotate<T> for MultiLineString<T> where
    T: Float + FromPrimitive
[src]

[src]

Rotate the contained LineStrings about their centroids by the given number of degrees

impl<T: Float, NT: Float> MapCoords<T, NT> for MultiLineString<T>
[src]

[src]

Apply a function to all the coordinates in a geometric object, returning a new object. Read more

impl<F: Float> ClosestPoint<F> for MultiLineString<F>
[src]

[src]

Find the closest point between self and p.

impl<'a, T> FromPostgis<&'a T> for MultiLineString<f64> where
    T: MultiLineString<'a>, 
[src]

[src]

impl ToPostgis<MultiLineString> for MultiLineString<f64>
[src]

[src]

Converts this geometry to a PostGIS type, using the supplied SRID.

[src]

Converts this WGS84 geometry to a PostGIS type.