pub struct ShoelaceMultiPolygonArea;Expand description
Cartesian shoelace area for a MultiPolygon — sum of the areas
of its member polygons.
Mirrors the dispatch::area<MultiGeometry, multi_polygon_tag> arm
at algorithms/area.hpp:175-187, which inherits from
detail::multi_sum and delegates the per-polygon work to the same
polygon_area used by ShoelacePolygonArea.
Trait Implementations§
Source§impl<MPg> AreaStrategy<MPg> for ShoelaceMultiPolygonAreawhere
MPg: MultiPolygon,
ShoelacePolygonArea: AreaStrategy<MPg::ItemPolygon, Out = <MPg::Point as Point>::Scalar>,
impl<MPg> AreaStrategy<MPg> for ShoelaceMultiPolygonAreawhere
MPg: MultiPolygon,
ShoelacePolygonArea: AreaStrategy<MPg::ItemPolygon, Out = <MPg::Point as Point>::Scalar>,
Source§impl Clone for ShoelaceMultiPolygonArea
impl Clone for ShoelaceMultiPolygonArea
Source§fn clone(&self) -> ShoelaceMultiPolygonArea
fn clone(&self) -> ShoelaceMultiPolygonArea
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShoelaceMultiPolygonArea
Source§impl Debug for ShoelaceMultiPolygonArea
impl Debug for ShoelaceMultiPolygonArea
Source§impl Default for ShoelaceMultiPolygonArea
impl Default for ShoelaceMultiPolygonArea
Source§fn default() -> ShoelaceMultiPolygonArea
fn default() -> ShoelaceMultiPolygonArea
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShoelaceMultiPolygonArea
impl RefUnwindSafe for ShoelaceMultiPolygonArea
impl Send for ShoelaceMultiPolygonArea
impl Sync for ShoelaceMultiPolygonArea
impl Unpin for ShoelaceMultiPolygonArea
impl UnsafeUnpin for ShoelaceMultiPolygonArea
impl UnwindSafe for ShoelaceMultiPolygonArea
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more