[−][src]Struct shapefile::record::point::PointZ
Point with x
, y
, m
, z
Fields
x: f64
y: f64
z: f64
m: f64
Methods
impl PointZ
[src]
pub fn new(x: f64, y: f64, z: f64, m: f64) -> Self
[src]
Creates a new pointZ
Examples
use shapefile::{PointZ, NO_DATA}; let point = PointZ::new(1.0, 42.0, 13.37, NO_DATA); assert_eq!(point.x, 1.0); assert_eq!(point.y, 42.0); assert_eq!(point.z, 13.37); assert_eq!(point.m, NO_DATA);
Trait Implementations
impl HasXY for PointZ
[src]
impl MultipointShape<PointZ> for Multipatch
[src]
fn point<I: SliceIndex<[PointZ]>>(
&self,
index: I
) -> Option<&<I as SliceIndex<[PointZ]>>::Output>
[src]
&self,
index: I
) -> Option<&<I as SliceIndex<[PointZ]>>::Output>
fn points(&self) -> &[PointZ]
[src]
impl MultipartShape<PointZ> for Multipatch
[src]
fn parts_indices(&self) -> &[i32]
[src]
fn part(&self, index: usize) -> Option<&[PointType]>
[src]
Returns the slice of points corresponding to part n°ìndex
if the shape actually has multiple parts Read more
ⓘImportant traits for PartIterator<'a, PointType, Shape>fn parts(&self) -> PartIterator<PointType, Self>
[src]
ⓘImportant traits for PartIterator<'a, PointType, Shape>
Returns an iterator over the parts of a MultipartShape Read more
impl HasShapeType for PointZ
[src]
impl ConcreteShape for PointZ
[src]
impl ConcreteReadableShape for PointZ
[src]
impl WritableShape for PointZ
[src]
fn size_in_bytes(&self) -> usize
[src]
fn write_to<T: Write>(self, dest: &mut T) -> Result<(), Error>
[src]
impl EsriShape for PointZ
[src]
impl Clone for PointZ
[src]
fn clone(&self) -> PointZ
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for PointZ
[src]
impl From<PointZ> for Point<f64>
[src]
impl From<Point<f64>> for PointZ
[src]
impl From<Coordinate<f64>> for PointZ
[src]
fn from(c: Coordinate<f64>) -> Self
[src]
impl From<PointZ> for Coordinate<f64>
[src]
impl From<PointZ> for Shape
[src]
impl PartialEq<PointZ> for PointZ
[src]
impl Copy for PointZ
[src]
impl Display for PointZ
[src]
impl Debug for PointZ
[src]
impl TryFrom<Shape> for PointZ
[src]
Auto Trait Implementations
impl Sync for PointZ
impl Send for PointZ
impl Unpin for PointZ
impl RefUnwindSafe for PointZ
impl UnwindSafe for PointZ
Blanket Implementations
impl<S> ReadableShape for S where
S: ConcreteReadableShape,
[src]
S: ConcreteReadableShape,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,