[−][src]Struct fbxcel_dom::v7400::data::mesh::TriangleVertices
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]
&self,
tri_vi: TriangleVertexIndex
) -> Option<PolygonVertexIndex>
Returns polygon vertex index corresponding to the given triangle vertex.
pub fn polygon_vertex(
&self,
i: impl Into<IntoPvWithTriVerts>
) -> Option<PolygonVertex>
[src]
&self,
i: impl Into<IntoPvWithTriVerts>
) -> Option<PolygonVertex>
Returns polygon vertex corresponding to the given triangle vertex.
pub fn control_point_index(
&self,
i: impl Into<IntoCpiWithTriVerts>
) -> Option<ControlPointIndex>
[src]
&self,
i: impl Into<IntoCpiWithTriVerts>
) -> Option<ControlPointIndex>
Returns control point index corresponding to the given triangle vertex.
pub fn control_point(
&self,
i: impl Into<IntoCpiWithTriVerts>
) -> Option<Point3<f64>>
[src]
&self,
i: impl Into<IntoCpiWithTriVerts>
) -> Option<Point3<f64>>
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]
&'b self
) -> impl Iterator<Item = Option<ControlPointIndex>> + 'b
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]
&self
) -> impl Iterator<Item = TriangleVertexIndex>
Returns an iterator of triangle vertex indices.
Trait Implementations
impl<'a> Clone for TriangleVertices<'a>
[src]
fn clone(&self) -> TriangleVertices<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for TriangleVertices<'a>
[src]
Auto Trait Implementations
impl<'a> Send for TriangleVertices<'a>
impl<'a> Sync for TriangleVertices<'a>
impl<'a> Unpin for TriangleVertices<'a>
impl<'a> UnwindSafe for TriangleVertices<'a>
impl<'a> RefUnwindSafe for TriangleVertices<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,