Struct na::geometry::Point [−][src]
#[repr(C)]pub struct Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>, { pub coords: Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>, }
A point in an euclidean space.
The difference between a point and a vector is only semantic. See the user guide
for details on the distinction. The most notable difference that vectors ignore translations.
In particular, an Isometry2
or Isometry3
will
transform points by applying a rotation and a translation on them. However, these isometries
will only apply rotations to vectors (when doing isometry * vector
, the translation part of
the isometry is ignored).
Construction
- From individual components
new
… - Swizzling
xx
,yxz
… - Other construction methods
origin
,from_slice
,from_homogeneous
…
Transformation
Transforming a point by an Isometry, rotation, etc. can be
achieved by multiplication, e.g., isometry * point
or rotation * point
. Some of these transformation
may have some other methods, e.g., isometry.inverse_transform_point(&point)
. See the documentation
of said transformations for details.
Fields
coords: Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
The coordinates of this point, i.e., the shift from the origin.
Implementations
impl<N, D> Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]pub fn map<N2, F>(&self, f: F) -> Point<N2, D> where
N2: Scalar,
F: FnMut(N) -> N2,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
N2: Scalar,
F: FnMut(N) -> N2,
DefaultAllocator: Allocator<N2, D, U1>,
Returns a point containing the result of f
applied to each of its entries.
Example
let p = Point2::new(1.0, 2.0); assert_eq!(p.map(|e| e * 10.0), Point2::new(10.0, 20.0)); // This works in any dimension. let p = Point3::new(1.1, 2.1, 3.1); assert_eq!(p.map(|e| e as u32), Point3::new(1, 2, 3));
pub fn apply<F>(&mut self, f: F) where
F: FnMut(N) -> N,
[src]
F: FnMut(N) -> N,
Replaces each component of self
by the result of a closure f
applied on it.
Example
let mut p = Point2::new(1.0, 2.0); p.apply(|e| e * 10.0); assert_eq!(p, Point2::new(10.0, 20.0)); // This works in any dimension. let mut p = Point3::new(1.0, 2.0, 3.0); p.apply(|e| e * 10.0); assert_eq!(p, Point3::new(10.0, 20.0, 30.0));
pub fn to_homogeneous(
&self
) -> Matrix<N, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, U1>>::Buffer> where
D: DimNameAdd<U1>,
N: One,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
[src]
&self
) -> Matrix<N, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, U1>>::Buffer> where
D: DimNameAdd<U1>,
N: One,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
Converts this point into a vector in homogeneous coordinates, i.e., appends a 1
at the
end of it.
This is the same as .into()
.
Example
let p = Point2::new(10.0, 20.0); assert_eq!(p.to_homogeneous(), Vector3::new(10.0, 20.0, 1.0)); // This works in any dimension. let p = Point3::new(10.0, 20.0, 30.0); assert_eq!(p.to_homogeneous(), Vector4::new(10.0, 20.0, 30.0, 1.0));
pub fn from_coordinates(
coords: Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
) -> Point<N, D>
[src]
coords: Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
) -> Point<N, D>
Use Point::from(vector) instead.
Creates a new point with the given coordinates.
pub fn len(&self) -> usize
[src]
The dimension of this point.
Example
let p = Point2::new(1.0, 2.0); assert_eq!(p.len(), 2); // This works in any dimension. let p = Point3::new(10.0, 20.0, 30.0); assert_eq!(p.len(), 3);
pub fn is_empty(&self) -> bool
[src]
Returns true if the point contains no elements.
Example
let p = Point2::new(1.0, 2.0); assert!(!p.is_empty());
pub fn stride(&self) -> usize
[src]
This methods is no longer significant and will always return 1.
The stride of this point. This is the number of buffer element separating each component of this point.
pub fn iter(
&self
) -> MatrixIter<'_, N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>ⓘNotable traits for MatrixIter<'a, N, R, C, S>
impl<'a, N, R, C, S> Iterator for MatrixIter<'a, N, R, C, S> where
C: Dim,
N: Scalar,
S: 'a + Storage<N, R, C>,
R: Dim, type Item = &'a N;
[src]
&self
) -> MatrixIter<'_, N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>ⓘ
Notable traits for MatrixIter<'a, N, R, C, S>
impl<'a, N, R, C, S> Iterator for MatrixIter<'a, N, R, C, S> where
C: Dim,
N: Scalar,
S: 'a + Storage<N, R, C>,
R: Dim, type Item = &'a N;
Iterates through this point coordinates.
Example
let p = Point3::new(1.0, 2.0, 3.0); let mut it = p.iter().cloned(); assert_eq!(it.next(), Some(1.0)); assert_eq!(it.next(), Some(2.0)); assert_eq!(it.next(), Some(3.0)); assert_eq!(it.next(), None);
pub unsafe fn get_unchecked(&self, i: usize) -> &N
[src]
Gets a reference to i-th element of this point without bound-checking.
pub fn iter_mut(
&mut self
) -> MatrixIterMut<'_, N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>ⓘNotable traits for MatrixIterMut<'a, N, R, C, S>
impl<'a, N, R, C, S> Iterator for MatrixIterMut<'a, N, R, C, S> where
C: Dim,
N: Scalar,
S: 'a + StorageMut<N, R, C>,
R: Dim, type Item = &'a mut N;
[src]
&mut self
) -> MatrixIterMut<'_, N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>ⓘ
Notable traits for MatrixIterMut<'a, N, R, C, S>
impl<'a, N, R, C, S> Iterator for MatrixIterMut<'a, N, R, C, S> where
C: Dim,
N: Scalar,
S: 'a + StorageMut<N, R, C>,
R: Dim, type Item = &'a mut N;
Mutably iterates through this point coordinates.
Example
let mut p = Point3::new(1.0, 2.0, 3.0); for e in p.iter_mut() { *e *= 10.0; } assert_eq!(p, Point3::new(10.0, 20.0, 30.0));
pub unsafe fn get_unchecked_mut(&mut self, i: usize) -> &mut N
[src]
Gets a mutable reference to i-th element of this point without bound-checking.
pub unsafe fn swap_unchecked(&mut self, i1: usize, i2: usize)
[src]
Swaps two entries without bound-checking.
impl<N, D> Point<N, D> where
D: DimName,
N: Scalar + SimdPartialOrd,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Point<N, D> where
D: DimName,
N: Scalar + SimdPartialOrd,
DefaultAllocator: Allocator<N, D, U1>,
[src]pub fn inf(&self, other: &Point<N, D>) -> Point<N, D>
[src]
Computes the infimum (aka. componentwise min) of two points.
pub fn sup(&self, other: &Point<N, D>) -> Point<N, D>
[src]
Computes the supremum (aka. componentwise max) of two points.
pub fn inf_sup(&self, other: &Point<N, D>) -> (Point<N, D>, Point<N, D>)
[src]
Computes the (infimum, supremum) of two points.
impl<N, D> Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]pub unsafe fn new_uninitialized() -> Point<N, D>
[src]
Creates a new point with uninitialized coordinates.
pub fn origin() -> Point<N, D> where
N: Zero,
[src]
N: Zero,
Creates a new point with all coordinates equal to zero.
Example
// This works in any dimension. // The explicit crate::<f32> type annotation may not always be needed, // depending on the context of type inference. let pt = Point2::<f32>::origin(); assert!(pt.x == 0.0 && pt.y == 0.0); let pt = Point3::<f32>::origin(); assert!(pt.x == 0.0 && pt.y == 0.0 && pt.z == 0.0);
pub fn from_slice(components: &[N]) -> Point<N, D>
[src]
Creates a new point from a slice.
Example
let data = [ 1.0, 2.0, 3.0 ]; let pt = Point2::from_slice(&data[..2]); assert_eq!(pt, Point2::new(1.0, 2.0)); let pt = Point3::from_slice(&data); assert_eq!(pt, Point3::new(1.0, 2.0, 3.0));
pub fn from_homogeneous(
v: Matrix<N, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
) -> Option<Point<N, D>> where
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedDiv<N>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
[src]
v: Matrix<N, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
) -> Option<Point<N, D>> where
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedDiv<N>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
Creates a new point from its homogeneous vector representation.
In practice, this builds a D-dimensional points with the same first D component as v
divided by the last component of v
. Returns None
if this divisor is zero.
Example
let coords = Vector4::new(1.0, 2.0, 3.0, 1.0); let pt = Point3::from_homogeneous(coords); assert_eq!(pt, Some(Point3::new(1.0, 2.0, 3.0))); // All component of the result will be divided by the // last component of the vector, here 2.0. let coords = Vector4::new(1.0, 2.0, 3.0, 2.0); let pt = Point3::from_homogeneous(coords); assert_eq!(pt, Some(Point3::new(0.5, 1.0, 1.5))); // Fails because the last component is zero. let coords = Vector4::new(1.0, 2.0, 3.0, 0.0); let pt = Point3::from_homogeneous(coords); assert!(pt.is_none()); // Works also in other dimensions. let coords = Vector3::new(1.0, 2.0, 1.0); let pt = Point2::from_homogeneous(coords); assert_eq!(pt, Some(Point2::new(1.0, 2.0)));
impl<N> Point<N, U1> where
N: Scalar,
[src]
impl<N> Point<N, U1> where
N: Scalar,
[src]impl<N, D> Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]pub fn xx(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UTerm>,
<<D as DimName>::Value as Cmp<UTerm>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UTerm>,
<<D as DimName>::Value as Cmp<UTerm>>::Output == Greater,
Builds a new point from components of self
.
pub fn xxx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UTerm>,
<<D as DimName>::Value as Cmp<UTerm>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UTerm>,
<<D as DimName>::Value as Cmp<UTerm>>::Output == Greater,
Builds a new point from components of self
.
pub fn xy(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yx(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yy(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xxy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xyx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xyy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yxx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yxy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yyx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yyy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UTerm, B1>>,
<<D as DimName>::Value as Cmp<UInt<UTerm, B1>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xz(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yz(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zx(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zy(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zz(&self) -> Point<N, U2> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xxz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xyz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xzx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xzy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn xzz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yxz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yyz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yzx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yzy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn yzz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zxx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zxy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zxz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zyx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zyy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zyz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zzx(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zzy(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
pub fn zzz(&self) -> Point<N, U3> where
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
[src]
<D as DimName>::Value: Cmp<UInt<UInt<UTerm, B1>, B0>>,
<<D as DimName>::Value as Cmp<UInt<UInt<UTerm, B1>, B0>>>::Output == Greater,
Builds a new point from components of self
.
impl<N> Point<N, U2> where
N: Scalar,
[src]
impl<N> Point<N, U2> where
N: Scalar,
[src]impl<N> Point<N, U3> where
N: Scalar,
[src]
impl<N> Point<N, U3> where
N: Scalar,
[src]impl<N> Point<N, U4> where
N: Scalar,
[src]
impl<N> Point<N, U4> where
N: Scalar,
[src]impl<N> Point<N, U5> where
N: Scalar,
[src]
impl<N> Point<N, U5> where
N: Scalar,
[src]impl<N> Point<N, U6> where
N: Scalar,
[src]
impl<N> Point<N, U6> where
N: Scalar,
[src]Trait Implementations
impl<N, D> AbsDiffEq<Point<N, D>> for Point<N, D> where
D: DimName,
N: Scalar + AbsDiffEq<N>,
DefaultAllocator: Allocator<N, D, U1>,
<N as AbsDiffEq<N>>::Epsilon: Copy,
[src]
impl<N, D> AbsDiffEq<Point<N, D>> for Point<N, D> where
D: DimName,
N: Scalar + AbsDiffEq<N>,
DefaultAllocator: Allocator<N, D, U1>,
<N as AbsDiffEq<N>>::Epsilon: Copy,
[src]type Epsilon = <N as AbsDiffEq<N>>::Epsilon
Used for specifying relative comparisons.
pub fn default_epsilon() -> <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon
[src]
pub fn abs_diff_eq(
&self,
other: &Point<N, D>,
epsilon: <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon
) -> bool
[src]
&self,
other: &Point<N, D>,
epsilon: <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon
) -> bool
pub fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
[src]
impl<'a, 'b, N, D1, D2, SB> Add<&'b Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]
impl<'a, 'b, N, D1, D2, SB> Add<&'b Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]impl<'b, N, D1, D2, SB> Add<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]
impl<'b, N, D1, D2, SB> Add<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]impl<'a, N, D1, D2, SB> Add<Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]
impl<'a, N, D1, D2, SB> Add<Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]impl<N, D1, D2, SB> Add<Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]
impl<N, D1, D2, SB> Add<Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]impl<'b, N, D1, D2, SB> AddAssign<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
[src]
impl<'b, N, D1, D2, SB> AddAssign<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
[src]pub fn add_assign(&mut self, right: &'b Matrix<N, D2, U1, SB>)
[src]
impl<N, D1, D2, SB> AddAssign<Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
[src]
impl<N, D1, D2, SB> AddAssign<Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedAdd<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
[src]pub fn add_assign(&mut self, right: Matrix<N, D2, U1, SB>)
[src]
impl<N, D> Bounded for Point<N, D> where
D: DimName,
N: Scalar + Bounded,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Bounded for Point<N, D> where
D: DimName,
N: Scalar + Bounded,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> Clone for Point<N, D> where
D: Clone + DimName,
N: Clone + Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Clone for Point<N, D> where
D: Clone + DimName,
N: Clone + Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> Debug for Point<N, D> where
D: Debug + DimName,
N: Debug + Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Debug for Point<N, D> where
D: Debug + DimName,
N: Debug + Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'a, N, D> Deserialize<'a> for Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Deserialize<'a>,
[src]
impl<'a, N, D> Deserialize<'a> for Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Deserialize<'a>,
[src]pub fn deserialize<Des>(
deserializer: Des
) -> Result<Point<N, D>, <Des as Deserializer<'a>>::Error> where
Des: Deserializer<'a>,
[src]
deserializer: Des
) -> Result<Point<N, D>, <Des as Deserializer<'a>>::Error> where
Des: Deserializer<'a>,
impl<N, D> Display for Point<N, D> where
D: DimName,
N: Scalar + Display,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Display for Point<N, D> where
D: DimName,
N: Scalar + Display,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> Div<N> for Point<N, D> where
D: DimName,
N: Scalar + ClosedDiv<N>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Div<N> for Point<N, D> where
D: DimName,
N: Scalar + ClosedDiv<N>,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'a, N, D> Div<N> for &'a Point<N, D> where
D: DimName,
N: Scalar + ClosedDiv<N>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'a, N, D> Div<N> for &'a Point<N, D> where
D: DimName,
N: Scalar + ClosedDiv<N>,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> DivAssign<N> for Point<N, D> where
D: DimName,
N: Scalar + ClosedDiv<N>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> DivAssign<N> for Point<N, D> where
D: DimName,
N: Scalar + ClosedDiv<N>,
DefaultAllocator: Allocator<N, D, U1>,
[src]pub fn div_assign(&mut self, right: N)
[src]
impl<N, D> From<[Point<<N as SimdValue>::Element, D>; 16]> for Point<N, D> where
D: DimName,
N: Scalar + Copy + PrimitiveSimdValue + From<[<N as SimdValue>::Element; 16]>,
<N as SimdValue>::Element: Scalar,
<N as SimdValue>::Element: Copy,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
<DefaultAllocator as Allocator<<N as SimdValue>::Element, D, U1>>::Buffer: Copy,
[src]
impl<N, D> From<[Point<<N as SimdValue>::Element, D>; 16]> for Point<N, D> where
D: DimName,
N: Scalar + Copy + PrimitiveSimdValue + From<[<N as SimdValue>::Element; 16]>,
<N as SimdValue>::Element: Scalar,
<N as SimdValue>::Element: Copy,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
<DefaultAllocator as Allocator<<N as SimdValue>::Element, D, U1>>::Buffer: Copy,
[src]impl<N, D> From<[Point<<N as SimdValue>::Element, D>; 2]> for Point<N, D> where
D: DimName,
N: Scalar + Copy + PrimitiveSimdValue + From<[<N as SimdValue>::Element; 2]>,
<N as SimdValue>::Element: Scalar,
<N as SimdValue>::Element: Copy,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
<DefaultAllocator as Allocator<<N as SimdValue>::Element, D, U1>>::Buffer: Copy,
[src]
impl<N, D> From<[Point<<N as SimdValue>::Element, D>; 2]> for Point<N, D> where
D: DimName,
N: Scalar + Copy + PrimitiveSimdValue + From<[<N as SimdValue>::Element; 2]>,
<N as SimdValue>::Element: Scalar,
<N as SimdValue>::Element: Copy,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
<DefaultAllocator as Allocator<<N as SimdValue>::Element, D, U1>>::Buffer: Copy,
[src]impl<N, D> From<[Point<<N as SimdValue>::Element, D>; 4]> for Point<N, D> where
D: DimName,
N: Scalar + Copy + PrimitiveSimdValue + From<[<N as SimdValue>::Element; 4]>,
<N as SimdValue>::Element: Scalar,
<N as SimdValue>::Element: Copy,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
<DefaultAllocator as Allocator<<N as SimdValue>::Element, D, U1>>::Buffer: Copy,
[src]
impl<N, D> From<[Point<<N as SimdValue>::Element, D>; 4]> for Point<N, D> where
D: DimName,
N: Scalar + Copy + PrimitiveSimdValue + From<[<N as SimdValue>::Element; 4]>,
<N as SimdValue>::Element: Scalar,
<N as SimdValue>::Element: Copy,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
<DefaultAllocator as Allocator<<N as SimdValue>::Element, D, U1>>::Buffer: Copy,
[src]impl<N, D> From<[Point<<N as SimdValue>::Element, D>; 8]> for Point<N, D> where
D: DimName,
N: Scalar + Copy + PrimitiveSimdValue + From<[<N as SimdValue>::Element; 8]>,
<N as SimdValue>::Element: Scalar,
<N as SimdValue>::Element: Copy,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
<DefaultAllocator as Allocator<<N as SimdValue>::Element, D, U1>>::Buffer: Copy,
[src]
impl<N, D> From<[Point<<N as SimdValue>::Element, D>; 8]> for Point<N, D> where
D: DimName,
N: Scalar + Copy + PrimitiveSimdValue + From<[<N as SimdValue>::Element; 8]>,
<N as SimdValue>::Element: Scalar,
<N as SimdValue>::Element: Copy,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
<DefaultAllocator as Allocator<<N as SimdValue>::Element, D, U1>>::Buffer: Copy,
[src]impl<N, D> From<Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>> for Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> From<Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>> for Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> From<Point<N, D>> for Matrix<N, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, U1>>::Buffer> where
D: DimName + DimNameAdd<U1>,
N: Scalar + Zero + One,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
[src]
impl<N, D> From<Point<N, D>> for Matrix<N, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, U1>>::Buffer> where
D: DimName + DimNameAdd<U1>,
N: Scalar + Zero + One,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
[src]pub fn from(
t: Point<N, D>
) -> Matrix<N, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
[src]
t: Point<N, D>
) -> Matrix<N, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
impl<N, D> Hash for Point<N, D> where
D: DimName + Hash,
N: Scalar + Hash,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Hash,
[src]
impl<N, D> Hash for Point<N, D> where
D: DimName + Hash,
N: Scalar + Hash,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Hash,
[src]impl<N, D> Index<usize> for Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Index<usize> for Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> IndexMut<usize> for Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> IndexMut<usize> for Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'b, N, D> Mul<&'b Point<N, D>> for Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
impl<'b, N, D> Mul<&'b Point<N, D>> for Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]impl<'a, 'b, N, D, C> Mul<&'b Point<N, D>> for &'a Transform<N, D, C> where
C: TCategory,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + RealField,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
[src]
impl<'a, 'b, N, D, C> Mul<&'b Point<N, D>> for &'a Transform<N, D, C> where
C: TCategory,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + RealField,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
[src]impl<'a, 'b, N, D> Mul<&'b Point<N, D>> for &'a Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
impl<'a, 'b, N, D> Mul<&'b Point<N, D>> for &'a Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]impl<'a, 'b, N, D> Mul<&'b Point<N, D>> for &'a Rotation<N, D> where
D: DimName,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: AreMultipliable<D, D, D, U1>,
[src]
impl<'a, 'b, N, D> Mul<&'b Point<N, D>> for &'a Rotation<N, D> where
D: DimName,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: AreMultipliable<D, D, D, U1>,
[src]impl<'b, N, D, C> Mul<&'b Point<N, D>> for Transform<N, D, C> where
C: TCategory,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + RealField,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
[src]
impl<'b, N, D, C> Mul<&'b Point<N, D>> for Transform<N, D, C> where
C: TCategory,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + RealField,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
[src]impl<'b, N, D> Mul<&'b Point<N, D>> for Rotation<N, D> where
D: DimName,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: AreMultipliable<D, D, D, U1>,
[src]
impl<'b, N, D> Mul<&'b Point<N, D>> for Rotation<N, D> where
D: DimName,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: AreMultipliable<D, D, D, U1>,
[src]impl<'a, 'b, N, D, R> Mul<&'b Point<N, D>> for &'a Similarity<N, D, R> where
D: DimName,
N: SimdRealField,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'a, 'b, N, D, R> Mul<&'b Point<N, D>> for &'a Similarity<N, D, R> where
D: DimName,
N: SimdRealField,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'a, 'b, N, D, R> Mul<&'b Point<N, D>> for &'a Isometry<N, D, R> where
D: DimName,
N: SimdRealField,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'a, 'b, N, D, R> Mul<&'b Point<N, D>> for &'a Isometry<N, D, R> where
D: DimName,
N: SimdRealField,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'b, N, D, R> Mul<&'b Point<N, D>> for Similarity<N, D, R> where
D: DimName,
N: SimdRealField,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'b, N, D, R> Mul<&'b Point<N, D>> for Similarity<N, D, R> where
D: DimName,
N: SimdRealField,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'b, N, D, R> Mul<&'b Point<N, D>> for Isometry<N, D, R> where
D: DimName,
N: SimdRealField,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'b, N, D, R> Mul<&'b Point<N, D>> for Isometry<N, D, R> where
D: DimName,
N: SimdRealField,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'b, N, R1, C1, D2, SA> Mul<&'b Point<N, D2>> for Matrix<N, R1, C1, SA> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
R1: DimName,
C1: Dim,
SA: Storage<N, R1, C1>,
D2: DimName,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: Allocator<N, R1, U1>,
ShapeConstraint: AreMultipliable<R1, C1, D2, U1>,
[src]
impl<'b, N, R1, C1, D2, SA> Mul<&'b Point<N, D2>> for Matrix<N, R1, C1, SA> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
R1: DimName,
C1: Dim,
SA: Storage<N, R1, C1>,
D2: DimName,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: Allocator<N, R1, U1>,
ShapeConstraint: AreMultipliable<R1, C1, D2, U1>,
[src]impl<'a, 'b, N, R1, C1, D2, SA> Mul<&'b Point<N, D2>> for &'a Matrix<N, R1, C1, SA> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
R1: DimName,
C1: Dim,
SA: Storage<N, R1, C1>,
D2: DimName,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: Allocator<N, R1, U1>,
ShapeConstraint: AreMultipliable<R1, C1, D2, U1>,
[src]
impl<'a, 'b, N, R1, C1, D2, SA> Mul<&'b Point<N, D2>> for &'a Matrix<N, R1, C1, SA> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
R1: DimName,
C1: Dim,
SA: Storage<N, R1, C1>,
D2: DimName,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: Allocator<N, R1, U1>,
ShapeConstraint: AreMultipliable<R1, C1, D2, U1>,
[src]impl<'b, N> Mul<&'b Point<N, U2>> for Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
[src]
impl<'b, N> Mul<&'b Point<N, U2>> for Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
[src]impl<'a, 'b, N> Mul<&'b Point<N, U2>> for &'a Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
[src]
impl<'a, 'b, N> Mul<&'b Point<N, U2>> for &'a Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
[src]impl<'b, N> Mul<&'b Point<N, U3>> for Unit<Quaternion<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
DefaultAllocator: Allocator<N, U3, U1>,
[src]
impl<'b, N> Mul<&'b Point<N, U3>> for Unit<Quaternion<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
DefaultAllocator: Allocator<N, U3, U1>,
[src]impl<'a, 'b, N> Mul<&'b Point<N, U3>> for &'a Unit<Quaternion<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
DefaultAllocator: Allocator<N, U3, U1>,
[src]
impl<'a, 'b, N> Mul<&'b Point<N, U3>> for &'a Unit<Quaternion<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
DefaultAllocator: Allocator<N, U3, U1>,
[src]impl<'a, N, D> Mul<N> for &'a Point<N, D> where
D: DimName,
N: Scalar + ClosedMul<N>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'a, N, D> Mul<N> for &'a Point<N, D> where
D: DimName,
N: Scalar + ClosedMul<N>,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> Mul<N> for Point<N, D> where
D: DimName,
N: Scalar + ClosedMul<N>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Mul<N> for Point<N, D> where
D: DimName,
N: Scalar + ClosedMul<N>,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D, R> Mul<Point<N, D>> for Isometry<N, D, R> where
D: DimName,
N: SimdRealField,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D, R> Mul<Point<N, D>> for Isometry<N, D, R> where
D: DimName,
N: SimdRealField,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> Mul<Point<N, D>> for Rotation<N, D> where
D: DimName,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: AreMultipliable<D, D, D, U1>,
[src]
impl<N, D> Mul<Point<N, D>> for Rotation<N, D> where
D: DimName,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: AreMultipliable<D, D, D, U1>,
[src]impl<'a, N, D, C> Mul<Point<N, D>> for &'a Transform<N, D, C> where
C: TCategory,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + RealField,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
[src]
impl<'a, N, D, C> Mul<Point<N, D>> for &'a Transform<N, D, C> where
C: TCategory,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + RealField,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
[src]impl<'a, N, D> Mul<Point<N, D>> for &'a Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
impl<'a, N, D> Mul<Point<N, D>> for &'a Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]impl<'a, N, D, R> Mul<Point<N, D>> for &'a Similarity<N, D, R> where
D: DimName,
N: SimdRealField,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'a, N, D, R> Mul<Point<N, D>> for &'a Similarity<N, D, R> where
D: DimName,
N: SimdRealField,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D, C> Mul<Point<N, D>> for Transform<N, D, C> where
C: TCategory,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + RealField,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
[src]
impl<N, D, C> Mul<Point<N, D>> for Transform<N, D, C> where
C: TCategory,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + RealField,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
[src]impl<N, D, R> Mul<Point<N, D>> for Similarity<N, D, R> where
D: DimName,
N: SimdRealField,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D, R> Mul<Point<N, D>> for Similarity<N, D, R> where
D: DimName,
N: SimdRealField,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'a, N, D> Mul<Point<N, D>> for &'a Rotation<N, D> where
D: DimName,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: AreMultipliable<D, D, D, U1>,
[src]
impl<'a, N, D> Mul<Point<N, D>> for &'a Rotation<N, D> where
D: DimName,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: AreMultipliable<D, D, D, U1>,
[src]impl<N, D> Mul<Point<N, D>> for Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
impl<N, D> Mul<Point<N, D>> for Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]impl<'a, N, D, R> Mul<Point<N, D>> for &'a Isometry<N, D, R> where
D: DimName,
N: SimdRealField,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'a, N, D, R> Mul<Point<N, D>> for &'a Isometry<N, D, R> where
D: DimName,
N: SimdRealField,
R: AbstractRotation<N, D>,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'a, N, R1, C1, D2, SA> Mul<Point<N, D2>> for &'a Matrix<N, R1, C1, SA> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
R1: DimName,
C1: Dim,
SA: Storage<N, R1, C1>,
D2: DimName,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: Allocator<N, R1, U1>,
ShapeConstraint: AreMultipliable<R1, C1, D2, U1>,
[src]
impl<'a, N, R1, C1, D2, SA> Mul<Point<N, D2>> for &'a Matrix<N, R1, C1, SA> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
R1: DimName,
C1: Dim,
SA: Storage<N, R1, C1>,
D2: DimName,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: Allocator<N, R1, U1>,
ShapeConstraint: AreMultipliable<R1, C1, D2, U1>,
[src]impl<N, R1, C1, D2, SA> Mul<Point<N, D2>> for Matrix<N, R1, C1, SA> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
R1: DimName,
C1: Dim,
SA: Storage<N, R1, C1>,
D2: DimName,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: Allocator<N, R1, U1>,
ShapeConstraint: AreMultipliable<R1, C1, D2, U1>,
[src]
impl<N, R1, C1, D2, SA> Mul<Point<N, D2>> for Matrix<N, R1, C1, SA> where
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N>,
R1: DimName,
C1: Dim,
SA: Storage<N, R1, C1>,
D2: DimName,
DefaultAllocator: Allocator<N, R1, C1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: Allocator<N, R1, U1>,
ShapeConstraint: AreMultipliable<R1, C1, D2, U1>,
[src]impl<'a, N> Mul<Point<N, U2>> for &'a Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
[src]
impl<'a, N> Mul<Point<N, U2>> for &'a Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
[src]impl<N> Mul<Point<N, U2>> for Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
[src]
impl<N> Mul<Point<N, U2>> for Unit<Complex<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
[src]impl<N> Mul<Point<N, U3>> for Unit<Quaternion<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
DefaultAllocator: Allocator<N, U3, U1>,
[src]
impl<N> Mul<Point<N, U3>> for Unit<Quaternion<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
DefaultAllocator: Allocator<N, U3, U1>,
[src]impl<'a, N> Mul<Point<N, U3>> for &'a Unit<Quaternion<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
DefaultAllocator: Allocator<N, U3, U1>,
[src]
impl<'a, N> Mul<Point<N, U3>> for &'a Unit<Quaternion<N>> where
N: SimdRealField,
<N as SimdValue>::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
DefaultAllocator: Allocator<N, U3, U1>,
[src]impl<N, D> MulAssign<N> for Point<N, D> where
D: DimName,
N: Scalar + ClosedMul<N>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> MulAssign<N> for Point<N, D> where
D: DimName,
N: Scalar + ClosedMul<N>,
DefaultAllocator: Allocator<N, D, U1>,
[src]pub fn mul_assign(&mut self, right: N)
[src]
impl<N, D> Neg for Point<N, D> where
D: DimName,
N: Scalar + ClosedNeg,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> Neg for Point<N, D> where
D: DimName,
N: Scalar + ClosedNeg,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<'a, N, D> Neg for &'a Point<N, D> where
D: DimName,
N: Scalar + ClosedNeg,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<'a, N, D> Neg for &'a Point<N, D> where
D: DimName,
N: Scalar + ClosedNeg,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> PartialEq<Point<N, D>> for Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> PartialEq<Point<N, D>> for Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> PartialOrd<Point<N, D>> for Point<N, D> where
D: DimName,
N: Scalar + PartialOrd<N>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
impl<N, D> PartialOrd<Point<N, D>> for Point<N, D> where
D: DimName,
N: Scalar + PartialOrd<N>,
DefaultAllocator: Allocator<N, D, U1>,
[src]impl<N, D> RelativeEq<Point<N, D>> for Point<N, D> where
D: DimName,
N: Scalar + RelativeEq<N>,
DefaultAllocator: Allocator<N, D, U1>,
<N as AbsDiffEq<N>>::Epsilon: Copy,
[src]
impl<N, D> RelativeEq<Point<N, D>> for Point<N, D> where
D: DimName,
N: Scalar + RelativeEq<N>,
DefaultAllocator: Allocator<N, D, U1>,
<N as AbsDiffEq<N>>::Epsilon: Copy,
[src]pub fn default_max_relative(
) -> <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon
[src]
) -> <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon
pub fn relative_eq(
&self,
other: &Point<N, D>,
epsilon: <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon,
max_relative: <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon
) -> bool
[src]
&self,
other: &Point<N, D>,
epsilon: <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon,
max_relative: <Point<N, D> as AbsDiffEq<Point<N, D>>>::Epsilon
) -> bool
pub fn relative_ne(
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
[src]
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
impl<N, D> Serialize for Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Serialize,
[src]
impl<N, D> Serialize for Point<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Serialize,
[src]pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl<N, D> SimdValue for Point<N, D> where
D: DimName,
N: Scalar + SimdValue,
<N as SimdValue>::Element: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
[src]
impl<N, D> SimdValue for Point<N, D> where
D: DimName,
N: Scalar + SimdValue,
<N as SimdValue>::Element: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<<N as SimdValue>::Element, D, U1>,
[src]type Element = Point<<N as SimdValue>::Element, D>
The type of the elements of each lane of this SIMD value.
type SimdBool = <N as SimdValue>::SimdBool
Type of the result of comparing two SIMD values like self
.
pub fn lanes() -> usize
[src]
pub fn splat(val: <Point<N, D> as SimdValue>::Element) -> Point<N, D>
[src]
pub fn extract(&self, i: usize) -> <Point<N, D> as SimdValue>::Element
[src]
pub unsafe fn extract_unchecked(
&self,
i: usize
) -> <Point<N, D> as SimdValue>::Element
[src]
&self,
i: usize
) -> <Point<N, D> as SimdValue>::Element
pub fn replace(&mut self, i: usize, val: <Point<N, D> as SimdValue>::Element)
[src]
pub unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <Point<N, D> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Point<N, D> as SimdValue>::Element
)
pub fn select(
self,
cond: <Point<N, D> as SimdValue>::SimdBool,
other: Point<N, D>
) -> Point<N, D>
[src]
self,
cond: <Point<N, D> as SimdValue>::SimdBool,
other: Point<N, D>
) -> Point<N, D>
pub fn map_lanes(self, f: impl Fn(Self::Element) -> Self::Element) -> Self where
Self: Clone,
[src]
Self: Clone,
pub fn zip_map_lanes(
self,
b: Self,
f: impl Fn(Self::Element, Self::Element) -> Self::Element
) -> Self where
Self: Clone,
[src]
self,
b: Self,
f: impl Fn(Self::Element, Self::Element) -> Self::Element
) -> Self where
Self: Clone,
impl<'b, N, D1, D2, SB> Sub<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]
impl<'b, N, D1, D2, SB> Sub<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]impl<'a, 'b, N, D1, D2, SB> Sub<&'b Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]
impl<'a, 'b, N, D1, D2, SB> Sub<&'b Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]impl<'b, N, D> Sub<&'b Point<N, D>> for Point<N, D> where
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]
impl<'b, N, D> Sub<&'b Point<N, D>> for Point<N, D> where
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]type Output = Matrix<N, <ShapeConstraint as SameNumberOfRows<D, D>>::Representative, U1, <DefaultAllocator as Allocator<N, <ShapeConstraint as SameNumberOfRows<D, D>>::Representative, <ShapeConstraint as SameNumberOfColumns<U1, U1>>::Representative>>::Buffer>
The resulting type after applying the -
operator.
pub fn sub(
self,
right: &'b Point<N, D>
) -> <Point<N, D> as Sub<&'b Point<N, D>>>::Output
[src]
self,
right: &'b Point<N, D>
) -> <Point<N, D> as Sub<&'b Point<N, D>>>::Output
impl<'a, 'b, N, D> Sub<&'b Point<N, D>> for &'a Point<N, D> where
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]
impl<'a, 'b, N, D> Sub<&'b Point<N, D>> for &'a Point<N, D> where
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]type Output = Matrix<N, <ShapeConstraint as SameNumberOfRows<D, D>>::Representative, U1, <DefaultAllocator as Allocator<N, <ShapeConstraint as SameNumberOfRows<D, D>>::Representative, <ShapeConstraint as SameNumberOfColumns<U1, U1>>::Representative>>::Buffer>
The resulting type after applying the -
operator.
pub fn sub(
self,
right: &'b Point<N, D>
) -> <&'a Point<N, D> as Sub<&'b Point<N, D>>>::Output
[src]
self,
right: &'b Point<N, D>
) -> <&'a Point<N, D> as Sub<&'b Point<N, D>>>::Output
impl<'a, N, D1, D2, SB> Sub<Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]
impl<'a, N, D1, D2, SB> Sub<Matrix<N, D2, U1, SB>> for &'a Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]impl<N, D1, D2, SB> Sub<Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]
impl<N, D1, D2, SB> Sub<Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
DefaultAllocator: Allocator<N, D2, U1>,
DefaultAllocator: SameShapeAllocator<N, D1, U1, D2, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D1, D2>>::Representative == D1,
[src]impl<'a, N, D> Sub<Point<N, D>> for &'a Point<N, D> where
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]
impl<'a, N, D> Sub<Point<N, D>> for &'a Point<N, D> where
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]type Output = Matrix<N, <ShapeConstraint as SameNumberOfRows<D, D>>::Representative, U1, <DefaultAllocator as Allocator<N, <ShapeConstraint as SameNumberOfRows<D, D>>::Representative, <ShapeConstraint as SameNumberOfColumns<U1, U1>>::Representative>>::Buffer>
The resulting type after applying the -
operator.
pub fn sub(
self,
right: Point<N, D>
) -> <&'a Point<N, D> as Sub<Point<N, D>>>::Output
[src]
self,
right: Point<N, D>
) -> <&'a Point<N, D> as Sub<Point<N, D>>>::Output
impl<N, D> Sub<Point<N, D>> for Point<N, D> where
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]
impl<N, D> Sub<Point<N, D>> for Point<N, D> where
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]type Output = Matrix<N, <ShapeConstraint as SameNumberOfRows<D, D>>::Representative, U1, <DefaultAllocator as Allocator<N, <ShapeConstraint as SameNumberOfRows<D, D>>::Representative, <ShapeConstraint as SameNumberOfColumns<U1, U1>>::Representative>>::Buffer>
The resulting type after applying the -
operator.
pub fn sub(
self,
right: Point<N, D>
) -> <Point<N, D> as Sub<Point<N, D>>>::Output
[src]
self,
right: Point<N, D>
) -> <Point<N, D> as Sub<Point<N, D>>>::Output
impl<'b, N, D1, D2, SB> SubAssign<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
[src]
impl<'b, N, D1, D2, SB> SubAssign<&'b Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
[src]pub fn sub_assign(&mut self, right: &'b Matrix<N, D2, U1, SB>)
[src]
impl<N, D1, D2, SB> SubAssign<Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
[src]
impl<N, D1, D2, SB> SubAssign<Matrix<N, D2, U1, SB>> for Point<N, D1> where
N: Scalar + ClosedSub<N>,
D2: Dim,
SB: Storage<N, D2, U1>,
D1: DimName,
DefaultAllocator: Allocator<N, D1, U1>,
ShapeConstraint: SameNumberOfRows<D1, D2>,
[src]pub fn sub_assign(&mut self, right: Matrix<N, D2, U1, SB>)
[src]
impl<N1, N2, D> SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>> for Point<N1, D> where
D: DimNameAdd<U1>,
N1: Scalar,
N2: Scalar + Zero + One + ClosedDiv<N2> + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
impl<N1, N2, D> SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>> for Point<N1, D> where
D: DimNameAdd<U1>,
N1: Scalar,
N2: Scalar + Zero + One + ClosedDiv<N2> + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]pub fn to_superset(
&self
) -> Matrix<N2, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
[src]
&self
) -> Matrix<N2, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
pub fn is_in_subset(
v: &Matrix<N2, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
) -> bool
[src]
v: &Matrix<N2, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
) -> bool
pub fn from_superset_unchecked(
v: &Matrix<N2, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
) -> Point<N1, D>
[src]
v: &Matrix<N2, <D as DimNameAdd<U1>>::Output, U1, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, U1>>::Buffer>
) -> Point<N1, D>
pub fn from_superset(element: &T) -> Option<Self>
[src]
impl<N1, N2, D> SubsetOf<Point<N2, D>> for Point<N1, D> where
D: DimName,
N1: Scalar,
N2: Scalar + SupersetOf<N1>,
DefaultAllocator: Allocator<N2, D, U1>,
DefaultAllocator: Allocator<N1, D, U1>,
[src]
impl<N1, N2, D> SubsetOf<Point<N2, D>> for Point<N1, D> where
D: DimName,
N1: Scalar,
N2: Scalar + SupersetOf<N1>,
DefaultAllocator: Allocator<N2, D, U1>,
DefaultAllocator: Allocator<N1, D, U1>,
[src]pub fn to_superset(&self) -> Point<N2, D>
[src]
pub fn is_in_subset(m: &Point<N2, D>) -> bool
[src]
pub fn from_superset_unchecked(m: &Point<N2, D>) -> Point<N1, D>
[src]
pub fn from_superset(element: &T) -> Option<Self>
[src]
impl<N, D> UlpsEq<Point<N, D>> for Point<N, D> where
D: DimName,
N: Scalar + UlpsEq<N>,
DefaultAllocator: Allocator<N, D, U1>,
<N as AbsDiffEq<N>>::Epsilon: Copy,
[src]
impl<N, D> UlpsEq<Point<N, D>> for Point<N, D> where
D: DimName,
N: Scalar + UlpsEq<N>,
DefaultAllocator: Allocator<N, D, U1>,
<N as AbsDiffEq<N>>::Epsilon: Copy,
[src]impl<N, D> Copy for Point<N, D> where
D: DimName,
N: Scalar + Copy,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Copy,
[src]
D: DimName,
N: Scalar + Copy,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Copy,
impl<N, D> Eq for Point<N, D> where
D: DimName,
N: Scalar + Eq,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Scalar + Eq,
DefaultAllocator: Allocator<N, D, U1>,
Auto Trait Implementations
impl<N, D> !RefUnwindSafe for Point<N, D>
impl<N, D> !Send for Point<N, D>
impl<N, D> !Sync for Point<N, D>
impl<N, D> !Unpin for Point<N, D>
impl<N, D> !UnwindSafe for Point<N, D>
Blanket Implementations
impl<T> SimdPartialOrd for T where
T: SimdValue<Element = T, SimdBool = bool> + PartialOrd<T>,
[src]
impl<T> SimdPartialOrd for T where
T: SimdValue<Element = T, SimdBool = bool> + PartialOrd<T>,
[src]pub fn simd_gt(self, other: T) -> <T as SimdValue>::SimdBool
[src]
pub fn simd_lt(self, other: T) -> <T as SimdValue>::SimdBool
[src]
pub fn simd_ge(self, other: T) -> <T as SimdValue>::SimdBool
[src]
pub fn simd_le(self, other: T) -> <T as SimdValue>::SimdBool
[src]
pub fn simd_eq(self, other: T) -> <T as SimdValue>::SimdBool
[src]
pub fn simd_ne(self, other: T) -> <T as SimdValue>::SimdBool
[src]
pub fn simd_max(self, other: T) -> T
[src]
pub fn simd_min(self, other: T) -> T
[src]
pub fn simd_clamp(self, min: T, max: T) -> T
[src]
pub fn simd_horizontal_min(self) -> <T as SimdValue>::Element
[src]
pub fn simd_horizontal_max(self) -> <T as SimdValue>::Element
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T, Right> ClosedAdd<Right> for T where
T: Add<Right, Output = T> + AddAssign<Right>,
[src]
T: Add<Right, Output = T> + AddAssign<Right>,
impl<T, Right> ClosedDiv<Right> for T where
T: Div<Right, Output = T> + DivAssign<Right>,
[src]
T: Div<Right, Output = T> + DivAssign<Right>,
impl<T, Right> ClosedMul<Right> for T where
T: Mul<Right, Output = T> + MulAssign<Right>,
[src]
T: Mul<Right, Output = T> + MulAssign<Right>,
impl<T> ClosedNeg for T where
T: Neg<Output = T>,
[src]
T: Neg<Output = T>,
impl<T, Right> ClosedSub<Right> for T where
T: Sub<Right, Output = T> + SubAssign<Right>,
[src]
T: Sub<Right, Output = T> + SubAssign<Right>,