Struct geo::MultiPolygon [] [src]

pub struct MultiPolygon(pub Vec<Polygon>);

Trait Implementations

impl Debug for MultiPolygon
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for MultiPolygon
[src]

fn clone(&self) -> MultiPolygon

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl PartialEq for MultiPolygon
[src]

fn eq(&self, __arg_0: &MultiPolygon) -> bool

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

fn ne(&self, __arg_0: &MultiPolygon) -> bool

This method tests for !=.

impl Centroid for MultiPolygon
[src]

fn centroid(&self) -> Option<Point>

Calculation the centroid, see: https://en.wikipedia.org/wiki/Centroid Read more

impl Contains<Point> for MultiPolygon
[src]

fn contains(&self, p: &Point) -> bool

Checks if the geometry A is completely inside the B geometry. Read more