[][src]Type Definition higher_order_point::PointFunc

type PointFunc<T> = Point<Arg<T>>;

A point function.

Methods

impl PointFunc<[f64; 2]>[src]

pub fn ground_plane() -> Self[src]

Returns ground plane with zero z-values.

impl PointFunc<[f64; 3]>[src]

pub fn space() -> Self[src]

Returns plain Euclidean space.

impl<T: 'static> PointFunc<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]

Helper method for calling value.

impl PointFunc<f64>[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<T: 'static, U> Map<T, U> for PointFunc<T>[src]

type Output = PointFunc<U>

The output type.

fn map<F: 'static + Fn(U) -> T + Clone + Send + Sync>(
    self,
    f: F
) -> PointFunc<U>
[src]

Maps input into another.

impl Diff for PointFunc<f64>[src]

impl<T: 'static + Copy> Dot<Point<Arg<T>>> for PointFunc<T>[src]

type Output = Func<T, f64>

The output type.

impl<T: 'static + Copy> Cross<Point<Arg<T>>> for PointFunc<T>[src]

type Output = Self

The output type.

impl<T: 'static + Copy> Norm for PointFunc<T>[src]

type Output = Func<T, f64>

The output type.

impl<T: 'static + Copy> From<Point<Arg<(T, T)>>> for PointFunc<[T; 2]>[src]

impl<T: 'static + Copy> Add<Point<Arg<T>>> for PointFunc<T>[src]

type Output = Self

The resulting type after applying the + operator.

impl<T: 'static, U: Into<Point>> Add<U> for PointFunc<T>[src]

type Output = PointFunc<T>

The resulting type after applying the + operator.

impl<T: 'static + Copy> Add<Arc<dyn Fn(T) + 'static + Sync + Send>> for PointFunc<T>[src]

type Output = PointFunc<T>

The resulting type after applying the + operator.

impl<T: 'static + Copy> Sub<Point<Arg<T>>> for PointFunc<T>[src]

type Output = Self

The resulting type after applying the - operator.

impl<T: 'static, U: Into<Point>> Sub<U> for PointFunc<T>[src]

type Output = Self

The resulting type after applying the - operator.

impl<T: 'static> Mul<f64> for PointFunc<T>[src]

type Output = Self

The resulting type after applying the * operator.

impl<T: 'static + Copy> Mul<Arc<dyn Fn(T) + 'static + Sync + Send>> for PointFunc<T>[src]

type Output = Self

The resulting type after applying the * operator.

impl<T: 'static + Copy> Mul<Point<Arg<T>>> for PointFunc<T>[src]

type Output = Self

The resulting type after applying the * operator.

impl<T: 'static> Div<f64> for PointFunc<T>[src]

type Output = Self

The resulting type after applying the / operator.

impl<T: 'static + Copy> Div<Arc<dyn Fn(T) + 'static + Sync + Send>> for PointFunc<T>[src]

type Output = Self

The resulting type after applying the / operator.