Struct diffgeom::coordinates::Point [] [src]

pub struct Point<T: CoordinateSystem> { /* fields omitted */ }

Struct representing a point on the manifold. The information about the coordinate system is saved in the type parameter, so that only operations on objects belonging to the same coordinate system will be allowed.

Methods

impl<T> Point<T> where
    T: CoordinateSystem
[src]

Creates a new point with coordinates described by the array

Creates a new point with coordinates passed in the slice

Trait Implementations

impl<T> Clone for Point<T> where
    T: CoordinateSystem
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Copy for Point<T> where
    T: CoordinateSystem,
    <T::Dimension as ArrayLength<f64>>::ArrayType: Copy
[src]

impl<T> Index<usize> for Point<T> where
    T: CoordinateSystem
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<T> IndexMut<usize> for Point<T> where
    T: CoordinateSystem
[src]

The method for the mutable indexing (container[index]) operation

impl<T> PartialEq<Point<T>> for Point<T> where
    T: CoordinateSystem
[src]

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

This method tests for !=.

impl<T> Eq for Point<T> where
    T: CoordinateSystem
[src]