[][src]Struct fbxcel_dom::v7400::data::mesh::TriangleVertices

pub struct TriangleVertices<'a> { /* fields omitted */ }

Triangle vertices (this is arary of control point indices).

"Triangle vertex" means "index of control point".

Methods

impl<'a> TriangleVertices<'a>[src]

pub fn polygon_vertices(&self) -> PolygonVertices<'a>[src]

Returns underlying polygon vertices.

pub fn polygon_vertex_index(
    &self,
    tri_vi: TriangleVertexIndex
) -> Option<PolygonVertexIndex>
[src]

Returns polygon vertex index corresponding to the given triangle vertex.

pub fn polygon_vertex(
    &self,
    i: impl Into<IntoPvWithTriVerts>
) -> Option<PolygonVertex>
[src]

Returns polygon vertex corresponding to the given triangle vertex.

pub fn control_point_index(
    &self,
    i: impl Into<IntoCpiWithTriVerts>
) -> Option<ControlPointIndex>
[src]

Returns control point index corresponding to the given triangle vertex.

pub fn control_point(
    &self,
    i: impl Into<IntoCpiWithTriVerts>
) -> Option<Point3<f64>>
[src]

Returns control point corresponding to the given triangle vertex.

pub fn len(&self) -> usize[src]

Returns the number of triangle vertices.

pub fn is_empty(&self) -> bool[src]

Returns whether or not there are no triangle vertices.

pub fn iter_control_point_indices<'b>(
    &'b self
) -> impl Iterator<Item = Option<ControlPointIndex>> + 'b
[src]

Returns an iterator of control point indices.

pub fn polygon_index(&self, tri_i: TriangleIndex) -> Option<PolygonIndex>[src]

Returns polygon index for the given triangle index.

pub fn triangle_vertex_indices(
    &self
) -> impl Iterator<Item = TriangleVertexIndex>
[src]

Returns an iterator of triangle vertex indices.

Trait Implementations

impl<'a> Clone for TriangleVertices<'a>[src]

impl<'a> Debug for TriangleVertices<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for TriangleVertices<'a>

impl<'a> Send for TriangleVertices<'a>

impl<'a> Sync for TriangleVertices<'a>

impl<'a> Unpin for TriangleVertices<'a>

impl<'a> UnwindSafe for TriangleVertices<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.