[−][src]Struct higher_order_point::Point
3D point.
Fields
x: Fun<T, f64>
Function for x-coordinates.
y: Fun<T, f64>
Function for y-coordinates.
z: Fun<T, f64>
Function for z-coordinates.
Methods
impl Point<Arg<T>>
[src]
pub fn ground_plane() -> Self
[src]
Returns ground plane with zero z-values.
impl Point<Arg<T>>
[src]
impl<T: 'static> Point<Arg<T>>
[src]
pub fn lift_right<U>(self) -> PointFunc<(T, U)>
[src]
Adds another parameter to the right.
pub fn lift_left<U>(self) -> PointFunc<(U, T)>
[src]
Adds another parameter to the left.
pub fn call(&self, val: T) -> Point where
T: Copy,
[src]
T: Copy,
Helper method for calling value.
impl Point<Arg<T>>
[src]
pub fn circle() -> Self
[src]
Creates a new circle in the xy-plane.
pub fn circle_radians() -> Self
[src]
Creates a new circle in xy-plane that uses radians.
pub fn zig_zag() -> Self
[src]
Creates a new zig-zag function in the xy-plane.
pub fn zag_zig() -> Self
[src]
Creates a new zag-zig function in the xy-plane.
pub fn x() -> Self
[src]
Points along the x-axis.
pub fn y() -> Self
[src]
Points along the y-axis.
pub fn z() -> Self
[src]
Points along the z-axis.
Trait Implementations
impl Add<Point<()>> for Point
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl<T: 'static + Copy> Add<Point<Arg<T>>> for PointFunc<T>
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl<T: 'static> Add<Point<Arg<T>>> for Point
[src]
type Output = PointFunc<T>
The resulting type after applying the +
operator.
fn add(self, other: PointFunc<T>) -> PointFunc<T>
[src]
impl Add<f64> for Point
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, val: f64) -> Self
[src]
impl<T: Copy> Call<T> for Point where
f64: Ho<Arg<T>> + Call<T>,
[src]
f64: Ho<Arg<T>> + Call<T>,
impl<T: Clone> Clone for Point<T> where
f64: Ho<T>,
[src]
f64: Ho<T>,
impl Copy for Point
[src]
impl Cross<Point<()>> for Point
[src]
impl<T: 'static + Copy> Cross<Point<Arg<T>>> for PointFunc<T>
[src]
impl Debug for Point
[src]
impl Dot<Point<()>> for Point
[src]
impl<T: 'static + Copy> Dot<Point<Arg<T>>> for PointFunc<T>
[src]
impl From<Point<()>> for [f64; 3]
[src]
impl<T: 'static + Copy> From<Point<Arg<(T, T)>>> for PointFunc<[T; 2]>
[src]
impl<T: Clone> Ho<Arg<T>> for Point
[src]
impl Into<Point<()>> for [f64; 3]
[src]
impl<T> Into<Point<Arg<T>>> for [f64; 3]
[src]
impl<T: 'static> Mul<Arc<dyn Fn(T) + 'static + Send + Sync>> for Point
[src]
type Output = PointFunc<T>
The resulting type after applying the *
operator.
fn mul(self, other: Func<T, f64>) -> PointFunc<T>
[src]
impl<T: 'static> Mul<Point<Arg<T>>> for Point
[src]
type Output = PointFunc<T>
The resulting type after applying the *
operator.
fn mul(self, other: PointFunc<T>) -> PointFunc<T>
[src]
impl<T: 'static + Copy> Mul<Point<Arg<T>>> for PointFunc<T>
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: Self) -> Self
[src]
impl Mul<f64> for Point
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: f64) -> Self
[src]
impl Norm for Point
[src]
impl PartialEq<Point<()>> for Point
[src]
impl Sub<Point<()>> for Point
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Self
[src]
impl<T: 'static + Copy> Sub<Point<Arg<T>>> for PointFunc<T>
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Self
[src]
impl<T: 'static> Sub<Point<Arg<T>>> for Point
[src]
type Output = PointFunc<T>
The resulting type after applying the -
operator.
fn sub(self, other: PointFunc<T>) -> PointFunc<T>
[src]
impl Sub<f64> for Point
[src]
Auto Trait Implementations
impl<T = ()> !RefUnwindSafe for Point<T>
impl<T = ()> !Send for Point<T>
impl<T = ()> !Sync for Point<T>
impl<T = ()> !Unpin for Point<T>
impl<T = ()> !UnwindSafe for Point<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> Call<T> for U where
U: Ho<Arg<T>, Fun = Arc<dyn Fn(T) + 'static + Send + Sync>>,
U: Ho<Arg<T>, Fun = Arc<dyn Fn(T) + 'static + Send + Sync>>,
fn call(f: &<U as Ho<Arg<T>>>::Fun, val: T) -> U
impl<T> From<T> for T
[src]
impl<T, U> HMap<U> for T where
U: Call<T>,
U: Call<T>,
impl<T> Ho<()> for T where
T: Clone,
T: Clone,
type Fun = T
The function type.
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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, 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>,