Struct geo::MultiLineString
[−]
[src]
pub struct MultiLineString<T>(pub Vec<LineString<T>>)
where
T: Float;
A collection of LineString
s.
Can be created from a Vec
of LineString
s, 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]
T: Float,
fn eq(&self, __arg_0: &MultiLineString<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MultiLineString<T>) -> bool
[src]
This method tests for !=
.
impl<T: Clone> Clone for MultiLineString<T> where
T: Float,
[src]
T: Float,
fn clone(&self) -> MultiLineString<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: Debug> Debug for MultiLineString<T> where
T: Float,
[src]
T: Float,
impl<T: Float, ILS: Into<LineString<T>>> From<ILS> for MultiLineString<T>
[src]
impl<T: Float, ILS: Into<LineString<T>>> FromIterator<ILS> for MultiLineString<T>
[src]
fn from_iter<I: IntoIterator<Item = ILS>>(iter: I) -> Self
[src]
Creates a value from an iterator. Read more
impl<T: Float> IntoIterator for MultiLineString<T>
[src]
type Item = LineString<T>
The type of the elements being iterated over.
type IntoIter = IntoIter<LineString<T>>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
Creates an iterator from a value. Read more
impl<T> Length<T> for MultiLineString<T> where
T: Float,
[src]
T: Float,
impl<T> Distance<T, Point<T>> for MultiLineString<T> where
T: Float,
[src]
T: Float,
impl<T> BoundingBox<T> for MultiLineString<T> where
T: Float,
[src]
T: Float,
type Output = Option<Bbox<T>>
fn bbox(&self) -> Self::Output
[src]
Return the BoundingBox for a MultiLineString
impl<T> Simplify<T> for MultiLineString<T> where
T: Float,
[src]
T: Float,
fn simplify(&self, epsilon: &T) -> MultiLineString<T>
[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]
T: Float + SpadeFloat,
fn simplifyvw_preserve(&self, epsilon: &T) -> MultiLineString<T>
[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]
T: Float,
fn simplifyvw(&self, epsilon: &T) -> MultiLineString<T>
[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]
T: Float,
fn convex_hull(&self) -> Polygon<T>
[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]
T: Float + FromPrimitive,
fn rotate(&self, angle: T) -> Self
[src]
Rotate the contained LineStrings about their centroids by the given number of degrees