Struct half_edge_mesh::vert::Vert [−][src]
Fields
edge: EdgePtr
pos: Point3<f32>
id: u32
Methods
impl Vert
[src]
impl Vert
pub fn empty(id: u32, pos: Point3<f32>) -> Vert
[src]
pub fn empty(id: u32, pos: Point3<f32>) -> Vert
All structure of the mesh revolves around vertex positions and their connectivity. (Faces are just an abstraction). All vertices must therefore have a concrete position.
pub fn with_edge(id: u32, pos: Point3<f32>, edge: EdgePtr) -> Vert
[src]
pub fn with_edge(id: u32, pos: Point3<f32>, edge: EdgePtr) -> Vert
Vertex connected to an existing edge
pub fn take_edge(&mut self, edge: EdgePtr)
[src]
pub fn take_edge(&mut self, edge: EdgePtr)
pub fn set_edge(&mut self, edge: &EdgePtr)
[src]
pub fn set_edge(&mut self, edge: &EdgePtr)
pub fn set_edge_rc(&mut self, edge: &EdgeRc)
[src]
pub fn set_edge_rc(&mut self, edge: &EdgeRc)
pub fn move_to(&mut self, pos: Point3<f32>)
[src]
pub fn move_to(&mut self, pos: Point3<f32>)
pub fn get_pos(&self) -> Point3<f32>
[src]
pub fn get_pos(&self) -> Point3<f32>
pub fn is_valid(&self) -> bool
[src]
pub fn is_valid(&self) -> bool
pub fn get_edge(&self) -> Option<EdgeRc>
[src]
pub fn get_edge(&self) -> Option<EdgeRc>
ⓘImportant traits for VertAdjacentVertIteratorpub fn adjacent_verts(&self) -> VertAdjacentVertIterator
[src]
ⓘImportant traits for VertAdjacentVertIterator
pub fn adjacent_verts(&self) -> VertAdjacentVertIterator
Important: Iterates over the vertices connected to a vertex in clockwise order
ⓘImportant traits for VertAdjacentEdgeIteratorpub fn adjacent_edges(&self) -> VertAdjacentEdgeIterator
[src]
ⓘImportant traits for VertAdjacentEdgeIterator
pub fn adjacent_edges(&self) -> VertAdjacentEdgeIterator
Important: Iterates over the edges connected to a vertex in clockwise order
ⓘImportant traits for VertAdjacentFaceIteratorpub fn adjacent_faces(&self) -> VertAdjacentFaceIterator
[src]
ⓘImportant traits for VertAdjacentFaceIterator
pub fn adjacent_faces(&self) -> VertAdjacentFaceIterator
Important: Iterates over the faces connected to a vertex in clockwise order
Trait Implementations
impl Debug for Vert
[src]
impl Debug for Vert
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq<Vert> for Vert
[src]
impl PartialEq<Vert> for Vert
fn eq(&self, other: &Vert) -> bool
[src]
fn eq(&self, other: &Vert) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Vert
[src]
impl Eq for Vert
impl Hash for Vert
[src]
impl Hash for Vert