Struct geo::MultiLineString [] [src]

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

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: CoordinateType
[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: CoordinateType
[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: CoordinateType
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

Performs the conversion.

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

[src]

Creates a value from an iterator. Read more

impl<T: CoordinateType> 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: CoordinateType> From<MultiLineString<T>> for Geometry<T>
[src]

[src]

Performs the conversion.

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

[src]

Calculation of the length of a Line Read more

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

[src]

Minimum distance from a Point to a MultiLineString

impl<T> EuclideanDistance<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: CoordinateType
[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: CoordinateType, NT: CoordinateType> 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<T: CoordinateType, NT: CoordinateType> TryMapCoords<T, NT> for MultiLineString<T>
[src]

[src]

Map a fallible function over all the coordinates in a geometry, returning a Result Read more

impl<T: CoordinateType> MapCoordsInplace<T> for MultiLineString<T>
[src]

[src]

Apply a function to all the coordinates in a geometric object, in place Read more

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

[src]

Find the closest point between self and p.

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

[src]

Calculation of the length of a Line Read more

Auto Trait Implementations

impl<T> Send for MultiLineString<T> where
    T: Send

impl<T> Sync for MultiLineString<T> where
    T: Sync