pub trait Vertex3d: Vertex2d {
    // Required method
    fn point3(self) -> [Self::Scalar; 3];
}
Expand description

Vertex types that have at least 3 dimensions.

Required Methods§

source

fn point3(self) -> [Self::Scalar; 3]

The x, y, z location of the vertex.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<S> Vertex3d for [S; 3]
where S: Scalar,

source§

fn point3(self) -> [Self::Scalar; 3]

source§

impl<S> Vertex3d for (S, S, S)
where S: Scalar,

source§

fn point3(self) -> [Self::Scalar; 3]

Implementors§