Type Definition nannou::geom::point::Point3 [−][src]
type Point3<S = Default> = Vector3<S>;
A 3-dimensional point type.
Trait Implementations
impl<S> From<Point3<S>> for LookAt<S>
[src]
impl<S> From<Point3<S>> for LookAt<S>
impl<S> Transform<Point3<S>> for Transform<S> where
S: BaseFloat,
[src]
impl<S> Transform<Point3<S>> for Transform<S> where
S: BaseFloat,
fn one() -> Self
[src]
fn one() -> Self
Create an identity transformation. That is, a transformation which does nothing. Read more
fn look_at(_eye: Point3<S>, _center: Point3<S>, _up: Vector3<S>) -> Self
[src]
fn look_at(_eye: Point3<S>, _center: Point3<S>, _up: Vector3<S>) -> Self
Create a transformation that rotates a vector to look at center
from eye
, using up
for orientation. Read more
fn transform_vector(&self, _vec: Vector3<S>) -> Vector3<S>
[src]
fn transform_vector(&self, _vec: Vector3<S>) -> Vector3<S>
Transform a vector using this transform.
fn inverse_transform_vector(&self, _vec: Vector3<S>) -> Option<Vector3<S>>
[src]
fn inverse_transform_vector(&self, _vec: Vector3<S>) -> Option<Vector3<S>>
Inverse transform a vector using this transform
fn transform_point(&self, _point: Point3<S>) -> Point3<S>
[src]
fn transform_point(&self, _point: Point3<S>) -> Point3<S>
Transform a point using this transform.
fn concat(&self, _other: &Self) -> Self
[src]
fn concat(&self, _other: &Self) -> Self
Combine this transform with another, yielding a new transformation which has the effects of both. Read more
fn inverse_transform(&self) -> Option<Self>
[src]
fn inverse_transform(&self) -> Option<Self>
Create a transform that "un-does" this one.
fn concat_self(&mut self, other: &Self)
[src]
fn concat_self(&mut self, other: &Self)
Combine this transform with another, in-place.
impl<S> ApplyTransform<S> for Point3<S> where
S: BaseFloat,
[src]
impl<S> ApplyTransform<S> for Point3<S> where
S: BaseFloat,
fn apply_transform(self, transform: &PreparedTransform<S>) -> Self
[src]
fn apply_transform(self, transform: &PreparedTransform<S>) -> Self
Apply the given transform and return the result.
impl<S> Vertex for Point3<S> where
S: BaseNum,
[src]
impl<S> Vertex for Point3<S> where
S: BaseNum,
type Scalar = S
The values used to describe the vertex position.
impl<S> Vertex2d for Point3<S> where
S: BaseNum,
[src]
impl<S> Vertex2d for Point3<S> where
S: BaseNum,
impl<S> Vertex3d for Point3<S> where
S: BaseNum,
[src]
impl<S> Vertex3d for Point3<S> where
S: BaseNum,