pub struct MultiPointArray<O: OffsetSizeTrait> {
    pub coords: CoordBuffer,
    pub geom_offsets: OffsetBuffer<O>,
    pub validity: Option<NullBuffer>,
    /* private fields */
}
Expand description

An immutable array of MultiPoint geometries using GeoArrow’s in-memory representation.

This is semantically equivalent to Vec<Option<MultiPoint>> due to the internal validity bitmap.

Fields§

§coords: CoordBuffer§geom_offsets: OffsetBuffer<O>

Offsets into the coordinate array where each geometry starts

§validity: Option<NullBuffer>

Validity bitmap

Implementations§

source§

impl<O: OffsetSizeTrait> MultiPointArray<O>

source

pub fn new( coords: CoordBuffer, geom_offsets: OffsetBuffer<O>, validity: Option<NullBuffer> ) -> Self

Create a new MultiPointArray 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 geometry offset does not match the number of coordinates
source

pub fn try_new( coords: CoordBuffer, geom_offsets: OffsetBuffer<O>, validity: Option<NullBuffer> ) -> Result<Self>

Create a new MultiPointArray 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 geometry offsets do not match the number of coordinates
source§

impl<O: OffsetSizeTrait> MultiPointArray<O>

source

pub fn iter_geo_values(&self) -> impl Iterator<Item = MultiPoint> + '_

Iterator over geo Geometry objects, not looking at validity

source

pub fn iter_geo( &self ) -> ZipValidity<MultiPoint, impl Iterator<Item = MultiPoint> + '_, BitIterator<'_>>

Iterator over geo Geometry objects, taking into account validity

source§

impl<'a, O: OffsetSizeTrait> MultiPointArray<O>

source

pub fn iter(&'a self) -> MultiPointArrayIter<'_, O>

Returns an iterator of Option<MultiPoint>

Trait Implementations§

source§

impl<O: OffsetSizeTrait> AffineOps<AffineTransform> for MultiPointArray<O>

source§

fn affine_transform(&self, transform: &AffineTransform) -> Self

Apply transform immutably, outputting a new geometry.
source§

impl<O: OffsetSizeTrait> AffineOps<Vec<AffineTransform>> for MultiPointArray<O>

source§

fn affine_transform(&self, transform: &Vec<AffineTransform>) -> Self

Apply transform immutably, outputting a new geometry.
source§

impl<O: OffsetSizeTrait> Area for MultiPointArray<O>

source§

impl<O: OffsetSizeTrait> BoundingRect for MultiPointArray<O>

source§

fn bounding_rect(&self) -> RectArray

Return the bounding rectangle of a geometry Read more
source§

impl<O: OffsetSizeTrait> Center for MultiPointArray<O>

source§

impl<O: OffsetSizeTrait> Centroid for MultiPointArray<O>

source§

impl<O: OffsetSizeTrait> ChamberlainDuquetteArea for MultiPointArray<O>

source§

impl<O: Clone + OffsetSizeTrait> Clone for MultiPointArray<O>

source§

fn clone(&self) -> MultiPointArray<O>

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl<'a, O: OffsetSizeTrait> Contains<LineString<'a, O>> for MultiPointArray<O>

source§

fn contains(&self, rhs: &LineString<'a, O>) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Contains<LineString> for MultiPointArray<O>

source§

fn contains(&self, rhs: &LineString) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Contains<LineStringArray<O>> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Contains<MultiLineString<'a, O>> for MultiPointArray<O>

source§

fn contains(&self, rhs: &MultiLineString<'a, O>) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Contains<MultiLineString> for MultiPointArray<O>

source§

fn contains(&self, rhs: &MultiLineString) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Contains<MultiLineStringArray<O>> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Contains<MultiPoint<'a, O>> for MultiPointArray<O>

source§

fn contains(&self, rhs: &MultiPoint<'a, O>) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Contains<MultiPoint> for MultiPointArray<O>

source§

fn contains(&self, rhs: &MultiPoint) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Contains<MultiPointArray<O>> for LineStringArray<O>

source§

impl<'a, O: OffsetSizeTrait> Contains<MultiPointArray<O>> for MultiLineStringArray<O>

source§

impl<'a, O: OffsetSizeTrait> Contains<MultiPointArray<O>> for MultiPolygonArray<O>

source§

impl<'a, O: OffsetSizeTrait> Contains<MultiPointArray<O>> for PointArray

source§

impl<'a, O: OffsetSizeTrait> Contains<MultiPointArray<O>> for PolygonArray<O>

source§

impl<'a, O: OffsetSizeTrait> Contains<MultiPolygon<'a, O>> for MultiPointArray<O>

source§

fn contains(&self, rhs: &MultiPolygon<'a, O>) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Contains<MultiPolygon> for MultiPointArray<O>

source§

fn contains(&self, rhs: &MultiPolygon) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Contains<MultiPolygonArray<O>> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Contains<Point<'a>> for MultiPointArray<O>

source§

fn contains(&self, rhs: &Point<'a>) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Contains<Point> for MultiPointArray<O>

source§

fn contains(&self, rhs: &Point) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Contains<PointArray> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Contains<Polygon<'a, O>> for MultiPointArray<O>

source§

fn contains(&self, rhs: &Polygon<'a, O>) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Contains<Polygon> for MultiPointArray<O>

source§

fn contains(&self, rhs: &Polygon) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Contains<PolygonArray<O>> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Contains for MultiPointArray<O>

source§

impl<O: OffsetSizeTrait> ConvexHull<O> for MultiPointArray<O>

source§

impl<O: Debug + OffsetSizeTrait> Debug for MultiPointArray<O>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<O: OffsetSizeTrait> Default for MultiPointArray<O>

Default to an empty array

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<MultiPointArray<O>> for PointArray

source§

fn euclidean_distance(&self, other: &MultiPointArray<O>) -> Float64Array

Returns the distance between two geometries Read more
source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<Point<'a>> for MultiPointArray<O>

source§

fn euclidean_distance(&self, other: &Point<'a>) -> Float64Array

Returns the distance between two geometries Read more
source§

impl<'a, O: OffsetSizeTrait> EuclideanDistance<PointArray> for MultiPointArray<O>

source§

fn euclidean_distance(&self, other: &PointArray) -> Float64Array

Returns the distance between two geometries Read more
source§

impl<O: OffsetSizeTrait> EuclideanLength for MultiPointArray<O>

source§

fn euclidean_length(&self) -> Float64Array

Calculation of the length of a Line Read more
source§

impl<A: OffsetSizeTrait, B: OffsetSizeTrait> From<&MultiPointArray<A>> for WKBArray<B>

source§

fn from(value: &MultiPointArray<A>) -> Self

Converts to this type from the input type.
source§

impl<O: OffsetSizeTrait> From<LineStringArray<O>> for MultiPointArray<O>

LineString and MultiPoint have the same layout, so enable conversions between the two to change the semantic type

source§

fn from(value: LineStringArray<O>) -> Self

Converts to this type from the input type.
source§

impl<O: OffsetSizeTrait> From<MultiPointArray<O>> for GeometryArray<O>

source§

fn from(value: MultiPointArray<O>) -> Self

Converts to this type from the input type.
source§

impl<O: OffsetSizeTrait> From<MultiPointArray<O>> for LineStringArray<O>

LineString and MultiPoint have the same layout, so enable conversions between the two to change the semantic type

source§

fn from(value: MultiPointArray<O>) -> Self

Converts to this type from the input type.
source§

impl From<MultiPointArray<i32>> for MultiPointArray<i64>

source§

fn from(value: MultiPointArray<i32>) -> Self

Converts to this type from the input type.
source§

impl<O: OffsetSizeTrait> From<MutableMultiPointArray<O>> for MultiPointArray<O>

source§

fn from(other: MutableMultiPointArray<O>) -> Self

Converts to this type from the input type.
source§

impl<O: OffsetSizeTrait, G: MultiPointTrait<T = f64>> From<Vec<'_, G>> for MultiPointArray<O>

source§

fn from(other: Vec<'_, G>) -> Self

Converts to this type from the input type.
source§

impl<O: OffsetSizeTrait, G: MultiPointTrait<T = f64>> From<Vec<'_, Option<G>>> for MultiPointArray<O>

source§

fn from(other: Vec<'_, Option<G>>) -> Self

Converts to this type from the input type.
source§

impl<O: OffsetSizeTrait, G: MultiPointTrait<T = f64>> From<Vec<G>> for MultiPointArray<O>

source§

fn from(other: Vec<G>) -> Self

Converts to this type from the input type.
source§

impl<O: OffsetSizeTrait, G: MultiPointTrait<T = f64>> From<Vec<Option<G>>> for MultiPointArray<O>

source§

fn from(other: Vec<Option<G>>) -> Self

Converts to this type from the input type.
source§

impl<'a, O: OffsetSizeTrait> GeoArrayAccessor<'a> for MultiPointArray<O>

§

type Item = MultiPoint<'a, O>

The geoarrow scalar object for this geometry array type.
§

type ItemGeo = MultiPoint

The geo scalar object for this geometry array type.
source§

unsafe fn value_unchecked(&'a self, index: usize) -> Self::Item

Returns the element at index i Read more
source§

fn value(&'a self, index: usize) -> Self::Item

Returns the element at index i Read more
source§

fn get(&'a self, index: usize) -> Option<Self::Item>

Access the value at slot i as an Arrow scalar, considering validity.
source§

fn value_as_geo(&'a self, i: usize) -> Self::ItemGeo

Access the value at slot i as a geo scalar, not considering validity.
source§

fn get_as_geo(&'a self, i: usize) -> Option<Self::ItemGeo>

Access the value at slot i as a geo scalar, considering validity.
source§

impl<O: OffsetSizeTrait> GeodesicArea for MultiPointArray<O>

source§

fn geodesic_perimeter(&self) -> Float64Array

Determine the perimeter of a geometry on an ellipsoidal model of the earth. Read more
source§

fn geodesic_area_signed(&self) -> Float64Array

Determine the area of a geometry on an ellipsoidal model of the earth. Read more
source§

fn geodesic_area_unsigned(&self) -> Float64Array

Determine the area of a geometry on an ellipsoidal model of the earth. Supports very large geometries that cover a significant portion of the earth. Read more
source§

fn geodesic_perimeter_area_signed(&self) -> (Float64Array, Float64Array)

Determine the perimeter and area of a geometry on an ellipsoidal model of the earth, all in one operation. Read more
source§

fn geodesic_perimeter_area_unsigned(&self) -> (Float64Array, Float64Array)

Determine the perimeter and area of a geometry on an ellipsoidal model of the earth, all in one operation. Supports very large geometries that cover a significant portion of the earth. Read more
source§

impl<O: OffsetSizeTrait> GeodesicLength for MultiPointArray<O>

source§

fn geodesic_length(&self) -> Float64Array

Determine the length of a geometry on an ellipsoidal model of the earth. Read more
source§

impl<'a, O: OffsetSizeTrait> GeometryArrayTrait<'a> for MultiPointArray<O>

source§

fn len(&self) -> usize

Returns the number of geometries in this array

source§

fn validity(&self) -> Option<&NullBuffer>

Returns the optional validity.

source§

fn slice(&self, offset: usize, length: usize) -> Self

Slices this MultiPointArray in place.

Implementation

This operation is O(1) as it amounts to increase two ref counts.

Examples
use arrow::array::PrimitiveArray;
use arrow_array::types::Int32Type;

let array: PrimitiveArray<Int32Type> = PrimitiveArray::from(vec![1, 2, 3]);
assert_eq!(format!("{:?}", array), "PrimitiveArray<Int32>\n[\n  1,\n  2,\n  3,\n]");
let sliced = array.slice(1, 1);
assert_eq!(format!("{:?}", sliced), "PrimitiveArray<Int32>\n[\n  2,\n]");
// note: `sliced` and `array` share the same memory region.
Panic

This function panics iff offset + length > self.len().

source§

fn as_any(&self) -> &dyn Any

Returns the array as Any so that it can be downcasted to a specific implementation. Read more
source§

fn data_type(&self) -> &GeoDataType

Returns a reference to the DataType of this array. Read more
source§

fn storage_type(&self) -> DataType

Get the logical DataType of this array.
source§

fn extension_field(&self) -> Arc<Field>

Get the extension type of this array, as defined by the GeoArrow specification. Read more
source§

fn extension_name(&self) -> &str

Get the extension name of this array.
source§

fn into_array_ref(self) -> Arc<dyn Array>

Convert this array into an arced arrow array. Read more
source§

fn with_coords(self, coords: CoordBuffer) -> Self

Create a new array with replaced coordinates Read more
source§

fn coord_type(&self) -> CoordType

Get the coordinate type of this geometry array, either interleaved or separated.
source§

fn into_coord_type(self, coord_type: CoordType) -> Self

Cast the coordinate buffer of this geometry array to the given coordinate type.
source§

fn owned_slice(&self, offset: usize, length: usize) -> Self

A slice that fully copies the contents of the underlying buffer
source§

fn is_empty(&self) -> bool

Returns true if the array is empty.
source§

fn nulls(&self) -> Option<&NullBuffer>

source§

fn logical_nulls(&self) -> Option<NullBuffer>

source§

fn null_count(&self) -> usize

The number of null slots in this array. Read more
source§

fn is_null(&self, i: usize) -> bool

Returns whether slot i is null. Read more
source§

fn is_valid(&self, i: usize) -> bool

Returns whether slot i is valid. Read more
source§

impl<O: OffsetSizeTrait> HasDimensions for MultiPointArray<O>

source§

fn is_empty(&self) -> BooleanArray

Some geometries, like a MultiPoint, can have zero coordinates - we call these empty. Read more
source§

impl<O: OffsetSizeTrait> HaversineLength for MultiPointArray<O>

source§

fn haversine_length(&self) -> Float64Array

Determine the length of a geometry using the haversine formula. Read more
source§

impl<'a, O: OffsetSizeTrait> Intersects<LineString<'a, O>> for MultiPointArray<O>

source§

fn intersects(&self, rhs: &LineString<'a, O>) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Intersects<LineString> for MultiPointArray<O>

source§

fn intersects(&self, rhs: &LineString) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Intersects<LineStringArray<O>> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiLineString<'a, O>> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiLineString> for MultiPointArray<O>

source§

fn intersects(&self, rhs: &MultiLineString) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiLineStringArray<O>> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiPoint<'a, O>> for MultiPointArray<O>

source§

fn intersects(&self, rhs: &MultiPoint<'a, O>) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiPoint> for MultiPointArray<O>

source§

fn intersects(&self, rhs: &MultiPoint) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiPointArray<O>> for LineStringArray<O>

source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiPointArray<O>> for MultiLineStringArray<O>

source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiPointArray<O>> for MultiPolygonArray<O>

source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiPointArray<O>> for PointArray

source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiPointArray<O>> for PolygonArray<O>

source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiPolygon<'a, O>> for MultiPointArray<O>

source§

fn intersects(&self, rhs: &MultiPolygon<'a, O>) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiPolygon> for MultiPointArray<O>

source§

fn intersects(&self, rhs: &MultiPolygon) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Intersects<MultiPolygonArray<O>> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Intersects<Point<'a>> for MultiPointArray<O>

source§

fn intersects(&self, rhs: &Point<'a>) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Intersects<Point> for MultiPointArray<O>

source§

fn intersects(&self, rhs: &Point) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Intersects<PointArray> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Intersects<Polygon<'a, O>> for MultiPointArray<O>

source§

fn intersects(&self, rhs: &Polygon<'a, O>) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Intersects<Polygon> for MultiPointArray<O>

source§

fn intersects(&self, rhs: &Polygon) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Intersects<PolygonArray<O>> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Intersects for MultiPointArray<O>

source§

impl<O: OffsetSizeTrait> IntoArrow for MultiPointArray<O>

source§

impl<O: OffsetSizeTrait> MinimumRotatedRect<i32> for MultiPointArray<O>

source§

impl<O: OffsetSizeTrait> MinimumRotatedRect<i64> for MultiPointArray<O>

source§

impl<O: OffsetSizeTrait> PartialEq for MultiPointArray<O>

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, O: OffsetSizeTrait> RTree<'a> for MultiPointArray<O>

§

type RTreeObject = CachedEnvelope<MultiPoint<'a, O>>

The object type to store in the RTree.
source§

fn rstar_tree(&'a self) -> RTree<Self::RTreeObject>

Build an RTree spatial index containing this array’s geometries.
source§

impl<O: OffsetSizeTrait> RemoveRepeatedPoints for MultiPointArray<O>

source§

fn remove_repeated_points(&self) -> Self

Create a new geometry with (consecutive) repeated points removed.
source§

impl<O: OffsetSizeTrait> Rotate<PrimitiveArray<Float64Type>> for MultiPointArray<O>

source§

fn rotate_around_centroid(&self, degrees: &Float64Array) -> MultiPointArray<O>

Rotate a geometry around its centroid by an angle, in degrees Read more
source§

fn rotate_around_center(&self, degrees: &Float64Array) -> Self

Rotate a geometry around the center of its bounding box by an angle, in degrees. Read more
source§

fn rotate_around_point(&self, degrees: &Float64Array, point: Point) -> Self

Rotate a Geometry around an arbitrary point by an angle, given in degrees Read more
source§

impl<O: OffsetSizeTrait> Rotate<f64> for MultiPointArray<O>

source§

fn rotate_around_centroid(&self, degrees: &f64) -> MultiPointArray<O>

Rotate a geometry around its centroid by an angle, in degrees Read more
source§

fn rotate_around_center(&self, degrees: &f64) -> Self

Rotate a geometry around the center of its bounding box by an angle, in degrees. Read more
source§

fn rotate_around_point(&self, degrees: &f64, point: Point) -> Self

Rotate a Geometry around an arbitrary point by an angle, given in degrees Read more
source§

impl<O: OffsetSizeTrait> Scale for MultiPointArray<O>

source§

fn scale(&self, scale_factor: BroadcastablePrimitive<Float64Type>) -> Self

Scale geometries from its bounding box center. Read more
source§

fn scale_xy( &self, x_factor: BroadcastablePrimitive<Float64Type>, y_factor: BroadcastablePrimitive<Float64Type> ) -> Self

Scale geometries from its bounding box center, using different values for x_factor and y_factor to distort the geometry’s aspect ratio. Read more
source§

fn scale_around_point( &self, x_factor: BroadcastablePrimitive<Float64Type>, y_factor: BroadcastablePrimitive<Float64Type>, origin: Point ) -> Self

Scale geometries around a point of origin. Read more
source§

impl<O: OffsetSizeTrait> Simplify for MultiPointArray<O>

source§

fn simplify(&self, _epsilon: &f64) -> Self

Returns the simplified representation of a geometry, using the Ramer–Douglas–Peucker algorithm Read more
source§

impl<O: OffsetSizeTrait> SimplifyVw for MultiPointArray<O>

source§

fn simplify_vw(&self, _epsilon: &f64) -> Self

Returns the simplified representation of a geometry, using the Visvalingam-Whyatt algorithm Read more
source§

impl<O: OffsetSizeTrait> Skew for MultiPointArray<O>

source§

fn skew(&self, scale_factor: BroadcastablePrimitive<Float64Type>) -> Self

An affine transformation which skews a geometry, sheared by a uniform angle along the x and y dimensions. Read more
source§

fn skew_xy( &self, x_factor: BroadcastablePrimitive<Float64Type>, y_factor: BroadcastablePrimitive<Float64Type> ) -> Self

An affine transformation which skews a geometry, sheared by an angle along the x and y dimensions. Read more
source§

fn skew_around_point( &self, x_factor: BroadcastablePrimitive<Float64Type>, y_factor: BroadcastablePrimitive<Float64Type>, origin: Point ) -> Self

An affine transformation which skews a geometry around a point of origin, sheared by an angle along the x and y dimensions. Read more
source§

impl<O: OffsetSizeTrait> Translate for MultiPointArray<O>

source§

fn translate( &self, x_offset: BroadcastablePrimitive<Float64Type>, y_offset: BroadcastablePrimitive<Float64Type> ) -> Self

Translate a Geometry along its axes by the given offsets Read more
source§

impl<O: OffsetSizeTrait> TryFrom<&GenericListArray<O>> for MultiPointArray<O>

§

type Error = GeoArrowError

The type returned in the event of a conversion error.
source§

fn try_from(value: &GenericListArray<O>) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&dyn Array> for MultiPointArray<i32>

§

type Error = GeoArrowError

The type returned in the event of a conversion error.
source§

fn try_from(value: &dyn Array) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&dyn Array> for MultiPointArray<i64>

§

type Error = GeoArrowError

The type returned in the event of a conversion error.
source§

fn try_from(value: &dyn Array) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<MultiPointArray<i64>> for MultiPointArray<i32>

§

type Error = GeoArrowError

The type returned in the event of a conversion error.
source§

fn try_from(value: MultiPointArray<i64>) -> Result<Self>

Performs the conversion.
source§

impl<O: OffsetSizeTrait> TryFrom<PointArray> for MultiPointArray<O>

§

type Error = GeoArrowError

The type returned in the event of a conversion error.
source§

fn try_from(value: PointArray) -> Result<Self>

Performs the conversion.
source§

impl<O: OffsetSizeTrait> TryFrom<WKBArray<O>> for MultiPointArray<O>

§

type Error = GeoArrowError

The type returned in the event of a conversion error.
source§

fn try_from(value: WKBArray<O>) -> Result<Self>

Performs the conversion.
source§

impl<O: OffsetSizeTrait> TypeIds for MultiPointArray<O>

source§

fn get_type_ids(&self) -> Int8Array

Return the geometry types stored in this array Read more
source§

fn get_unique_type_ids(&self) -> HashSet<i8>

Return the unique geometry types stored in this array Read more
source§

impl<O: OffsetSizeTrait> VincentyLength for MultiPointArray<O>

source§

fn vincenty_length(&self) -> Result<Float64Array>

Determine the length of a geometry using Vincenty’s formulae. Read more
source§

impl<'a, O: OffsetSizeTrait> Within<LineString<'a, O>> for MultiPointArray<O>

source§

fn is_within(&self, rhs: &LineString<'a, O>) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Within<LineString> for MultiPointArray<O>

source§

fn is_within(&self, rhs: &LineString) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Within<LineStringArray<O>> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Within<MultiLineString<'a, O>> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Within<MultiLineString> for MultiPointArray<O>

source§

fn is_within(&self, rhs: &MultiLineString) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Within<MultiLineStringArray<O>> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Within<MultiPoint<'a, O>> for MultiPointArray<O>

source§

fn is_within(&self, rhs: &MultiPoint<'a, O>) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Within<MultiPoint> for MultiPointArray<O>

source§

fn is_within(&self, rhs: &MultiPoint) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Within<MultiPointArray<O>> for LineStringArray<O>

source§

impl<'a, O: OffsetSizeTrait> Within<MultiPointArray<O>> for MultiLineStringArray<O>

source§

impl<'a, O: OffsetSizeTrait> Within<MultiPointArray<O>> for MultiPolygonArray<O>

source§

impl<'a, O: OffsetSizeTrait> Within<MultiPointArray<O>> for PointArray

source§

impl<'a, O: OffsetSizeTrait> Within<MultiPointArray<O>> for PolygonArray<O>

source§

impl<'a, O: OffsetSizeTrait> Within<MultiPolygon<'a, O>> for MultiPointArray<O>

source§

fn is_within(&self, rhs: &MultiPolygon<'a, O>) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Within<MultiPolygon> for MultiPointArray<O>

source§

fn is_within(&self, rhs: &MultiPolygon) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Within<MultiPolygonArray<O>> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Within<Point<'a>> for MultiPointArray<O>

source§

fn is_within(&self, rhs: &Point<'a>) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Within<Point> for MultiPointArray<O>

source§

fn is_within(&self, rhs: &Point) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Within<PointArray> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Within<Polygon<'a, O>> for MultiPointArray<O>

source§

fn is_within(&self, rhs: &Polygon<'a, O>) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Within<Polygon> for MultiPointArray<O>

source§

fn is_within(&self, rhs: &Polygon) -> BooleanArray

source§

impl<'a, O: OffsetSizeTrait> Within<PolygonArray<O>> for MultiPointArray<O>

source§

impl<'a, O: OffsetSizeTrait> Within for MultiPointArray<O>

Auto Trait Implementations§

§

impl<O> RefUnwindSafe for MultiPointArray<O>
where O: RefUnwindSafe,

§

impl<O> Send for MultiPointArray<O>

§

impl<O> Sync for MultiPointArray<O>

§

impl<O> Unpin for MultiPointArray<O>
where O: Unpin,

§

impl<O> UnwindSafe for MultiPointArray<O>
where O: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<G1, G2> Within<G2> for G1
where G2: Contains<G1>,

source§

fn is_within(&self, b: &G2) -> bool

source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,