Struct geoarrow2::array::polygon::PolygonArray
source · pub struct PolygonArray<O: OffsetSizeTrait> {
pub coords: CoordBuffer,
pub geom_offsets: OffsetBuffer<O>,
pub ring_offsets: OffsetBuffer<O>,
pub validity: Option<NullBuffer>,
/* private fields */
}
Expand description
An immutable array of Polygon geometries using GeoArrow’s in-memory representation.
This is semantically equivalent to Vec<Option<Polygon>>
due to the internal validity bitmap.
Fields§
§coords: CoordBuffer
§geom_offsets: OffsetBuffer<O>
Offsets into the ring array where each geometry starts
ring_offsets: OffsetBuffer<O>
Offsets into the coordinate array where each ring starts
validity: Option<NullBuffer>
Validity bitmap
Implementations§
source§impl<O: OffsetSizeTrait> PolygonArray<O>
impl<O: OffsetSizeTrait> PolygonArray<O>
sourcepub fn new(
coords: CoordBuffer,
geom_offsets: OffsetBuffer<O>,
ring_offsets: OffsetBuffer<O>,
validity: Option<NullBuffer>
) -> Self
pub fn new( coords: CoordBuffer, geom_offsets: OffsetBuffer<O>, ring_offsets: OffsetBuffer<O>, validity: Option<NullBuffer> ) -> Self
Create a new PolygonArray from parts
Implementation
This function is O(1)
.
Panics
- if the validity is not
None
and its length is different from the number of geometries - if the largest ring offset does not match the number of coordinates
- if the largest geometry offset does not match the size of ring offsets
sourcepub fn try_new(
coords: CoordBuffer,
geom_offsets: OffsetBuffer<O>,
ring_offsets: OffsetBuffer<O>,
validity: Option<NullBuffer>
) -> Result<Self, GeoArrowError>
pub fn try_new( coords: CoordBuffer, geom_offsets: OffsetBuffer<O>, ring_offsets: OffsetBuffer<O>, validity: Option<NullBuffer> ) -> Result<Self, GeoArrowError>
Create a new PolygonArray from parts
Implementation
This function is O(1)
.
Errors
- if the validity is not
None
and its length is different from the number of geometries - if the largest ring offset does not match the number of coordinates
- if the largest geometry offset does not match the size of ring offsets
source§impl<O: OffsetSizeTrait> PolygonArray<O>
impl<O: OffsetSizeTrait> PolygonArray<O>
sourcepub fn iter_geo_values(&self) -> impl Iterator<Item = Polygon> + '_
pub fn iter_geo_values(&self) -> impl Iterator<Item = Polygon> + '_
Iterator over geo Geometry objects, not looking at validity
sourcepub fn iter_geo(
&self
) -> ZipValidity<Polygon, impl Iterator<Item = Polygon> + '_, BitIterator<'_>> ⓘ
pub fn iter_geo( &self ) -> ZipValidity<Polygon, impl Iterator<Item = Polygon> + '_, BitIterator<'_>> ⓘ
Iterator over geo Geometry objects, taking into account validity
source§impl<'a, O: OffsetSizeTrait> PolygonArray<O>
impl<'a, O: OffsetSizeTrait> PolygonArray<O>
sourcepub fn iter(&'a self) -> PolygonArrayIter<'_, O> ⓘ
pub fn iter(&'a self) -> PolygonArrayIter<'_, O> ⓘ
Returns an iterator of Option<Polygon>
Trait Implementations§
source§impl<O: OffsetSizeTrait> AffineOps<AffineTransform> for PolygonArray<O>
impl<O: OffsetSizeTrait> AffineOps<AffineTransform> for PolygonArray<O>
source§fn affine_transform(&self, transform: &AffineTransform) -> Self
fn affine_transform(&self, transform: &AffineTransform) -> Self
transform
immutably, outputting a new geometry.source§impl<O: OffsetSizeTrait> AffineOps<Vec<AffineTransform>> for PolygonArray<O>
impl<O: OffsetSizeTrait> AffineOps<Vec<AffineTransform>> for PolygonArray<O>
source§fn affine_transform(&self, transform: &Vec<AffineTransform>) -> Self
fn affine_transform(&self, transform: &Vec<AffineTransform>) -> Self
transform
immutably, outputting a new geometry.source§impl<O: OffsetSizeTrait> Area for PolygonArray<O>
impl<O: OffsetSizeTrait> Area for PolygonArray<O>
fn signed_area(&self) -> Float64Array
fn unsigned_area(&self) -> Float64Array
source§impl<O: OffsetSizeTrait> BoundingRect for PolygonArray<O>
impl<O: OffsetSizeTrait> BoundingRect for PolygonArray<O>
source§fn bounding_rect(&self) -> RectArray
fn bounding_rect(&self) -> RectArray
source§impl<O: OffsetSizeTrait> Center for PolygonArray<O>
impl<O: OffsetSizeTrait> Center for PolygonArray<O>
fn center(&self) -> PointArray
source§impl<O: OffsetSizeTrait> Centroid for PolygonArray<O>
impl<O: OffsetSizeTrait> Centroid for PolygonArray<O>
source§fn centroid(&self) -> PointArray
fn centroid(&self) -> PointArray
source§impl<O: OffsetSizeTrait> ChaikinSmoothing for PolygonArray<O>
impl<O: OffsetSizeTrait> ChaikinSmoothing for PolygonArray<O>
source§fn chaikin_smoothing(
&self,
n_iterations: BroadcastablePrimitive<UInt32Type>
) -> Self
fn chaikin_smoothing( &self, n_iterations: BroadcastablePrimitive<UInt32Type> ) -> Self
n_iterations
times.source§impl<O: OffsetSizeTrait> ChamberlainDuquetteArea for PolygonArray<O>
impl<O: OffsetSizeTrait> ChamberlainDuquetteArea for PolygonArray<O>
fn chamberlain_duquette_signed_area(&self) -> Float64Array
fn chamberlain_duquette_unsigned_area(&self) -> Float64Array
source§impl<O: Clone + OffsetSizeTrait> Clone for PolygonArray<O>
impl<O: Clone + OffsetSizeTrait> Clone for PolygonArray<O>
source§fn clone(&self) -> PolygonArray<O>
fn clone(&self) -> PolygonArray<O>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<'a, O: OffsetSizeTrait> Contains<LineString<'a, O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<LineString<'a, O>> for PolygonArray<O>
fn contains(&self, rhs: &LineString<'a, O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<LineString> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<LineString> for PolygonArray<O>
fn contains(&self, rhs: &LineString) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<LineStringArray<O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<LineStringArray<O>> for PolygonArray<O>
fn contains(&self, rhs: &LineStringArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<MultiLineString<'a, O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<MultiLineString<'a, O>> for PolygonArray<O>
fn contains(&self, rhs: &MultiLineString<'a, O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<MultiLineString> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<MultiLineString> for PolygonArray<O>
fn contains(&self, rhs: &MultiLineString) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<MultiLineStringArray<O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<MultiLineStringArray<O>> for PolygonArray<O>
fn contains(&self, rhs: &MultiLineStringArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<MultiPoint<'a, O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<MultiPoint<'a, O>> for PolygonArray<O>
fn contains(&self, rhs: &MultiPoint<'a, O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<MultiPoint> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<MultiPoint> for PolygonArray<O>
fn contains(&self, rhs: &MultiPoint) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<MultiPointArray<O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<MultiPointArray<O>> for PolygonArray<O>
fn contains(&self, rhs: &MultiPointArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<MultiPolygon<'a, O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<MultiPolygon<'a, O>> for PolygonArray<O>
fn contains(&self, rhs: &MultiPolygon<'a, O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<MultiPolygon> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<MultiPolygon> for PolygonArray<O>
fn contains(&self, rhs: &MultiPolygon) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<MultiPolygonArray<O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<MultiPolygonArray<O>> for PolygonArray<O>
fn contains(&self, rhs: &MultiPolygonArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<Point<'a>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<Point<'a>> for PolygonArray<O>
fn contains(&self, rhs: &Point<'a>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<Point> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<Point> for PolygonArray<O>
fn contains(&self, rhs: &Point) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<PointArray> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<PointArray> for PolygonArray<O>
fn contains(&self, rhs: &PointArray) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<Polygon<'a, O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<Polygon<'a, O>> for PolygonArray<O>
fn contains(&self, rhs: &Polygon<'a, O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<Polygon> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<Polygon> for PolygonArray<O>
fn contains(&self, rhs: &Polygon) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<PolygonArray<O>> for LineStringArray<O>
impl<'a, O: OffsetSizeTrait> Contains<PolygonArray<O>> for LineStringArray<O>
fn contains(&self, rhs: &PolygonArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<PolygonArray<O>> for MultiLineStringArray<O>
impl<'a, O: OffsetSizeTrait> Contains<PolygonArray<O>> for MultiLineStringArray<O>
fn contains(&self, rhs: &PolygonArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<PolygonArray<O>> for MultiPointArray<O>
impl<'a, O: OffsetSizeTrait> Contains<PolygonArray<O>> for MultiPointArray<O>
fn contains(&self, rhs: &PolygonArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<PolygonArray<O>> for MultiPolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains<PolygonArray<O>> for MultiPolygonArray<O>
fn contains(&self, rhs: &PolygonArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains<PolygonArray<O>> for PointArray
impl<'a, O: OffsetSizeTrait> Contains<PolygonArray<O>> for PointArray
fn contains(&self, rhs: &PolygonArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Contains for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Contains for PolygonArray<O>
fn contains(&self, rhs: &PolygonArray<O>) -> BooleanArray
source§impl<O: OffsetSizeTrait> ConvexHull<O> for PolygonArray<O>
impl<O: OffsetSizeTrait> ConvexHull<O> for PolygonArray<O>
fn convex_hull(&self) -> PolygonArray<O>
source§impl<O: Debug + OffsetSizeTrait> Debug for PolygonArray<O>
impl<O: Debug + OffsetSizeTrait> Debug for PolygonArray<O>
source§impl<O: OffsetSizeTrait> Default for PolygonArray<O>
impl<O: OffsetSizeTrait> Default for PolygonArray<O>
Default to an empty array
source§impl<O: OffsetSizeTrait> Densify for PolygonArray<O>
impl<O: OffsetSizeTrait> Densify for PolygonArray<O>
type Output = PolygonArray<O>
fn densify( &self, max_distance: BroadcastablePrimitive<Float64Type> ) -> Self::Output
source§impl<'a, O: OffsetSizeTrait> EuclideanDistance<LineString<'a, O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> EuclideanDistance<LineString<'a, O>> for PolygonArray<O>
source§fn euclidean_distance(&self, other: &LineString<'a, O>) -> Float64Array
fn euclidean_distance(&self, other: &LineString<'a, O>) -> Float64Array
source§impl<'a, O: OffsetSizeTrait> EuclideanDistance<LineStringArray<O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> EuclideanDistance<LineStringArray<O>> for PolygonArray<O>
source§fn euclidean_distance(&self, other: &LineStringArray<O>) -> Float64Array
fn euclidean_distance(&self, other: &LineStringArray<O>) -> Float64Array
source§impl<'a, O: OffsetSizeTrait> EuclideanDistance<Point<'a>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> EuclideanDistance<Point<'a>> for PolygonArray<O>
source§fn euclidean_distance(&self, other: &Point<'a>) -> Float64Array
fn euclidean_distance(&self, other: &Point<'a>) -> Float64Array
source§impl<'a, O: OffsetSizeTrait> EuclideanDistance<PointArray> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> EuclideanDistance<PointArray> for PolygonArray<O>
source§fn euclidean_distance(&self, other: &PointArray) -> Float64Array
fn euclidean_distance(&self, other: &PointArray) -> Float64Array
source§impl<'a, O: OffsetSizeTrait> EuclideanDistance<Polygon<'a, O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> EuclideanDistance<Polygon<'a, O>> for PolygonArray<O>
source§fn euclidean_distance(&self, other: &Polygon<'a, O>) -> Float64Array
fn euclidean_distance(&self, other: &Polygon<'a, O>) -> Float64Array
source§impl<'a, O: OffsetSizeTrait> EuclideanDistance<PolygonArray<O>> for LineStringArray<O>
impl<'a, O: OffsetSizeTrait> EuclideanDistance<PolygonArray<O>> for LineStringArray<O>
source§fn euclidean_distance(&self, other: &PolygonArray<O>) -> Float64Array
fn euclidean_distance(&self, other: &PolygonArray<O>) -> Float64Array
source§impl<'a, O: OffsetSizeTrait> EuclideanDistance<PolygonArray<O>> for PointArray
impl<'a, O: OffsetSizeTrait> EuclideanDistance<PolygonArray<O>> for PointArray
source§fn euclidean_distance(&self, other: &PolygonArray<O>) -> Float64Array
fn euclidean_distance(&self, other: &PolygonArray<O>) -> Float64Array
source§impl<'a, O: OffsetSizeTrait> EuclideanDistance<PolygonArray<O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> EuclideanDistance<PolygonArray<O>> for PolygonArray<O>
source§fn euclidean_distance(&self, other: &PolygonArray<O>) -> Float64Array
fn euclidean_distance(&self, other: &PolygonArray<O>) -> Float64Array
source§impl<A: OffsetSizeTrait, B: OffsetSizeTrait> From<&PolygonArray<A>> for WKBArray<B>
impl<A: OffsetSizeTrait, B: OffsetSizeTrait> From<&PolygonArray<A>> for WKBArray<B>
source§fn from(value: &PolygonArray<A>) -> Self
fn from(value: &PolygonArray<A>) -> Self
source§impl<O: OffsetSizeTrait> From<MultiLineStringArray<O>> for PolygonArray<O>
impl<O: OffsetSizeTrait> From<MultiLineStringArray<O>> for PolygonArray<O>
Polygon and MultiLineString have the same layout, so enable conversions between the two to change the semantic type
source§fn from(value: MultiLineStringArray<O>) -> Self
fn from(value: MultiLineStringArray<O>) -> Self
source§impl<O: OffsetSizeTrait> From<MutablePolygonArray<O>> for PolygonArray<O>
impl<O: OffsetSizeTrait> From<MutablePolygonArray<O>> for PolygonArray<O>
source§fn from(other: MutablePolygonArray<O>) -> Self
fn from(other: MutablePolygonArray<O>) -> Self
source§impl<O: OffsetSizeTrait> From<PolygonArray<O>> for GeometryArray<O>
impl<O: OffsetSizeTrait> From<PolygonArray<O>> for GeometryArray<O>
source§fn from(value: PolygonArray<O>) -> Self
fn from(value: PolygonArray<O>) -> Self
source§impl<O: OffsetSizeTrait> From<PolygonArray<O>> for MultiLineStringArray<O>
impl<O: OffsetSizeTrait> From<PolygonArray<O>> for MultiLineStringArray<O>
Polygon and MultiLineString have the same layout, so enable conversions between the two to change the semantic type
source§fn from(value: PolygonArray<O>) -> Self
fn from(value: PolygonArray<O>) -> Self
source§impl From<PolygonArray<i32>> for PolygonArray<i64>
impl From<PolygonArray<i32>> for PolygonArray<i64>
source§fn from(value: PolygonArray<i32>) -> Self
fn from(value: PolygonArray<i32>) -> Self
source§impl<O: OffsetSizeTrait> From<RectArray> for PolygonArray<O>
impl<O: OffsetSizeTrait> From<RectArray> for PolygonArray<O>
source§impl<O: OffsetSizeTrait, G: PolygonTrait<T = f64>> From<Vec<'_, G>> for PolygonArray<O>
impl<O: OffsetSizeTrait, G: PolygonTrait<T = f64>> From<Vec<'_, G>> for PolygonArray<O>
source§impl<O: OffsetSizeTrait, G: PolygonTrait<T = f64>> From<Vec<'_, Option<G>>> for PolygonArray<O>
impl<O: OffsetSizeTrait, G: PolygonTrait<T = f64>> From<Vec<'_, Option<G>>> for PolygonArray<O>
source§impl<O: OffsetSizeTrait, G: PolygonTrait<T = f64>> From<Vec<G>> for PolygonArray<O>
impl<O: OffsetSizeTrait, G: PolygonTrait<T = f64>> From<Vec<G>> for PolygonArray<O>
source§impl<O: OffsetSizeTrait, G: PolygonTrait<T = f64>> From<Vec<Option<G>>> for PolygonArray<O>
impl<O: OffsetSizeTrait, G: PolygonTrait<T = f64>> From<Vec<Option<G>>> for PolygonArray<O>
source§impl<'a, O: OffsetSizeTrait> GeoArrayAccessor<'a> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> GeoArrayAccessor<'a> for PolygonArray<O>
§type Item = Polygon<'a, O>
type Item = Polygon<'a, O>
source§unsafe fn value_unchecked(&'a self, index: usize) -> Self::Item
unsafe fn value_unchecked(&'a self, index: usize) -> Self::Item
i
Read moresource§fn get(&'a self, index: usize) -> Option<Self::Item>
fn get(&'a self, index: usize) -> Option<Self::Item>
i
as an Arrow scalar, considering validity.source§impl<O: OffsetSizeTrait> GeodesicArea for PolygonArray<O>
impl<O: OffsetSizeTrait> GeodesicArea for PolygonArray<O>
source§fn geodesic_perimeter(&self) -> Float64Array
fn geodesic_perimeter(&self) -> Float64Array
source§fn geodesic_area_signed(&self) -> Float64Array
fn geodesic_area_signed(&self) -> Float64Array
source§fn geodesic_area_unsigned(&self) -> Float64Array
fn geodesic_area_unsigned(&self) -> Float64Array
source§fn geodesic_perimeter_area_signed(&self) -> (Float64Array, Float64Array)
fn geodesic_perimeter_area_signed(&self) -> (Float64Array, Float64Array)
source§fn geodesic_perimeter_area_unsigned(&self) -> (Float64Array, Float64Array)
fn geodesic_perimeter_area_unsigned(&self) -> (Float64Array, Float64Array)
source§impl<'a, O: OffsetSizeTrait> GeometryArrayTrait<'a> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> GeometryArrayTrait<'a> for PolygonArray<O>
source§fn validity(&self) -> Option<&NullBuffer>
fn validity(&self) -> Option<&NullBuffer>
Returns the optional validity.
source§fn data_type(&self) -> &GeoDataType
fn data_type(&self) -> &GeoDataType
source§fn storage_type(&self) -> DataType
fn storage_type(&self) -> DataType
source§fn extension_field(&self) -> Arc<Field>
fn extension_field(&self) -> Arc<Field>
source§fn extension_name(&self) -> &str
fn extension_name(&self) -> &str
source§fn into_array_ref(self) -> Arc<dyn Array>
fn into_array_ref(self) -> Arc<dyn Array>
source§fn with_coords(self, coords: CoordBuffer) -> Self
fn with_coords(self, coords: CoordBuffer) -> Self
source§fn coord_type(&self) -> CoordType
fn coord_type(&self) -> CoordType
source§fn into_coord_type(self, coord_type: CoordType) -> Self
fn into_coord_type(self, coord_type: CoordType) -> Self
source§fn owned_slice(&self, offset: usize, length: usize) -> Self
fn owned_slice(&self, offset: usize, length: usize) -> Self
fn nulls(&self) -> Option<&NullBuffer>
fn logical_nulls(&self) -> Option<NullBuffer>
source§fn null_count(&self) -> usize
fn null_count(&self) -> usize
source§impl<O: OffsetSizeTrait> HasDimensions for PolygonArray<O>
impl<O: OffsetSizeTrait> HasDimensions for PolygonArray<O>
source§fn is_empty(&self) -> BooleanArray
fn is_empty(&self) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<LineString<'a, O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<LineString<'a, O>> for PolygonArray<O>
fn intersects(&self, rhs: &LineString<'a, O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<LineString> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<LineString> for PolygonArray<O>
fn intersects(&self, rhs: &LineString) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<LineStringArray<O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<LineStringArray<O>> for PolygonArray<O>
fn intersects(&self, rhs: &LineStringArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<MultiLineString<'a, O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<MultiLineString<'a, O>> for PolygonArray<O>
fn intersects(&self, rhs: &MultiLineString<'a, O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<MultiLineString> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<MultiLineString> for PolygonArray<O>
fn intersects(&self, rhs: &MultiLineString) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<MultiLineStringArray<O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<MultiLineStringArray<O>> for PolygonArray<O>
fn intersects(&self, rhs: &MultiLineStringArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<MultiPoint<'a, O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<MultiPoint<'a, O>> for PolygonArray<O>
fn intersects(&self, rhs: &MultiPoint<'a, O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<MultiPoint> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<MultiPoint> for PolygonArray<O>
fn intersects(&self, rhs: &MultiPoint) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<MultiPointArray<O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<MultiPointArray<O>> for PolygonArray<O>
fn intersects(&self, rhs: &MultiPointArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<MultiPolygon<'a, O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<MultiPolygon<'a, O>> for PolygonArray<O>
fn intersects(&self, rhs: &MultiPolygon<'a, O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<MultiPolygon> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<MultiPolygon> for PolygonArray<O>
fn intersects(&self, rhs: &MultiPolygon) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<MultiPolygonArray<O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<MultiPolygonArray<O>> for PolygonArray<O>
fn intersects(&self, rhs: &MultiPolygonArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<Point<'a>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<Point<'a>> for PolygonArray<O>
fn intersects(&self, rhs: &Point<'a>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<Point> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<Point> for PolygonArray<O>
fn intersects(&self, rhs: &Point) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<PointArray> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<PointArray> for PolygonArray<O>
fn intersects(&self, rhs: &PointArray) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<Polygon<'a, O>> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<Polygon<'a, O>> for PolygonArray<O>
fn intersects(&self, rhs: &Polygon<'a, O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<Polygon> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<Polygon> for PolygonArray<O>
fn intersects(&self, rhs: &Polygon) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<PolygonArray<O>> for LineStringArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<PolygonArray<O>> for LineStringArray<O>
fn intersects(&self, rhs: &PolygonArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<PolygonArray<O>> for MultiLineStringArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<PolygonArray<O>> for MultiLineStringArray<O>
fn intersects(&self, rhs: &PolygonArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<PolygonArray<O>> for MultiPointArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<PolygonArray<O>> for MultiPointArray<O>
fn intersects(&self, rhs: &PolygonArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<PolygonArray<O>> for MultiPolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects<PolygonArray<O>> for MultiPolygonArray<O>
fn intersects(&self, rhs: &PolygonArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects<PolygonArray<O>> for PointArray
impl<'a, O: OffsetSizeTrait> Intersects<PolygonArray<O>> for PointArray
fn intersects(&self, rhs: &PolygonArray<O>) -> BooleanArray
source§impl<'a, O: OffsetSizeTrait> Intersects for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> Intersects for PolygonArray<O>
fn intersects(&self, rhs: &PolygonArray<O>) -> BooleanArray
source§impl<O: OffsetSizeTrait> IntoArrow for PolygonArray<O>
impl<O: OffsetSizeTrait> IntoArrow for PolygonArray<O>
type ArrowArray = GenericListArray<O>
fn into_arrow(self) -> Self::ArrowArray
source§impl<O: OffsetSizeTrait> MinimumRotatedRect<i32> for PolygonArray<O>
impl<O: OffsetSizeTrait> MinimumRotatedRect<i32> for PolygonArray<O>
fn minimum_rotated_rect(&self) -> PolygonArray<i32>
source§impl<O: OffsetSizeTrait> MinimumRotatedRect<i64> for PolygonArray<O>
impl<O: OffsetSizeTrait> MinimumRotatedRect<i64> for PolygonArray<O>
fn minimum_rotated_rect(&self) -> PolygonArray<i64>
source§impl<O: OffsetSizeTrait> PartialEq for PolygonArray<O>
impl<O: OffsetSizeTrait> PartialEq for PolygonArray<O>
source§impl<'a, O: OffsetSizeTrait> RTree<'a> for PolygonArray<O>
impl<'a, O: OffsetSizeTrait> RTree<'a> for PolygonArray<O>
§type RTreeObject = CachedEnvelope<Polygon<'a, O>>
type RTreeObject = CachedEnvelope<Polygon<'a, O>>
source§fn rstar_tree(&'a self) -> RTree<Self::RTreeObject>
fn rstar_tree(&'a self) -> RTree<Self::RTreeObject>
RTree
spatial index containing this array’s geometries.source§impl<O: OffsetSizeTrait> RemoveRepeatedPoints for PolygonArray<O>
impl<O: OffsetSizeTrait> RemoveRepeatedPoints for PolygonArray<O>
source§fn remove_repeated_points(&self) -> Self
fn remove_repeated_points(&self) -> Self
source§impl<O: OffsetSizeTrait> Rotate<PrimitiveArray<Float64Type>> for PolygonArray<O>
impl<O: OffsetSizeTrait> Rotate<PrimitiveArray<Float64Type>> for PolygonArray<O>
source§fn rotate_around_centroid(&self, degrees: &Float64Array) -> PolygonArray<O>
fn rotate_around_centroid(&self, degrees: &Float64Array) -> PolygonArray<O>
source§fn rotate_around_center(&self, degrees: &Float64Array) -> Self
fn rotate_around_center(&self, degrees: &Float64Array) -> Self
source§fn rotate_around_point(&self, degrees: &Float64Array, point: Point) -> Self
fn rotate_around_point(&self, degrees: &Float64Array, point: Point) -> Self
source§impl<O: OffsetSizeTrait> Rotate<f64> for PolygonArray<O>
impl<O: OffsetSizeTrait> Rotate<f64> for PolygonArray<O>
source§fn rotate_around_centroid(&self, degrees: &f64) -> PolygonArray<O>
fn rotate_around_centroid(&self, degrees: &f64) -> PolygonArray<O>
source§fn rotate_around_center(&self, degrees: &f64) -> Self
fn rotate_around_center(&self, degrees: &f64) -> Self
source§fn rotate_around_point(&self, degrees: &f64, point: Point) -> Self
fn rotate_around_point(&self, degrees: &f64, point: Point) -> Self
source§impl<O: OffsetSizeTrait> Scale for PolygonArray<O>
impl<O: OffsetSizeTrait> Scale for PolygonArray<O>
source§fn scale(&self, scale_factor: BroadcastablePrimitive<Float64Type>) -> Self
fn scale(&self, scale_factor: BroadcastablePrimitive<Float64Type>) -> Self
source§fn scale_xy(
&self,
x_factor: BroadcastablePrimitive<Float64Type>,
y_factor: BroadcastablePrimitive<Float64Type>
) -> Self
fn scale_xy( &self, x_factor: BroadcastablePrimitive<Float64Type>, y_factor: BroadcastablePrimitive<Float64Type> ) -> Self
x_factor
and
y_factor
to distort the geometry’s aspect ratio. Read moresource§fn scale_around_point(
&self,
x_factor: BroadcastablePrimitive<Float64Type>,
y_factor: BroadcastablePrimitive<Float64Type>,
origin: Point
) -> Self
fn scale_around_point( &self, x_factor: BroadcastablePrimitive<Float64Type>, y_factor: BroadcastablePrimitive<Float64Type>, origin: Point ) -> Self
origin
. Read moresource§impl<O: OffsetSizeTrait> Simplify for PolygonArray<O>
impl<O: OffsetSizeTrait> Simplify for PolygonArray<O>
source§impl<O: OffsetSizeTrait> SimplifyVw for PolygonArray<O>
impl<O: OffsetSizeTrait> SimplifyVw for PolygonArray<O>
source§fn simplify_vw(&self, epsilon: &f64) -> Self
fn simplify_vw(&self, epsilon: &f64) -> Self
source§impl<O: OffsetSizeTrait> Skew for PolygonArray<O>
impl<O: OffsetSizeTrait> Skew for PolygonArray<O>
source§fn skew(&self, scale_factor: BroadcastablePrimitive<Float64Type>) -> Self
fn skew(&self, scale_factor: BroadcastablePrimitive<Float64Type>) -> Self
source§fn skew_xy(
&self,
x_factor: BroadcastablePrimitive<Float64Type>,
y_factor: BroadcastablePrimitive<Float64Type>
) -> Self
fn skew_xy( &self, x_factor: BroadcastablePrimitive<Float64Type>, y_factor: BroadcastablePrimitive<Float64Type> ) -> Self
source§fn skew_around_point(
&self,
x_factor: BroadcastablePrimitive<Float64Type>,
y_factor: BroadcastablePrimitive<Float64Type>,
origin: Point
) -> Self
fn skew_around_point( &self, x_factor: BroadcastablePrimitive<Float64Type>, y_factor: BroadcastablePrimitive<Float64Type>, origin: Point ) -> Self
origin
, sheared by an
angle along the x and y dimensions. Read more