pub struct UvSphere { /* private fields */ }
Implementations
Trait Implementations
sourceimpl<S> AttributeGenerator<Normal<S>> for UvSphere where
S: EuclideanSpace + FiniteDimensional<N = U3>,
impl<S> AttributeGenerator<Normal<S>> for UvSphere where
S: EuclideanSpace + FiniteDimensional<N = U3>,
sourceimpl<S> AttributeGenerator<Position<S>> for UvSphere where
S: EuclideanSpace + FiniteDimensional<N = U3>,
impl<S> AttributeGenerator<Position<S>> for UvSphere where
S: EuclideanSpace + FiniteDimensional<N = U3>,
sourceimpl<S> AttributePolygonGenerator<Normal<S>> for UvSphere where
S: EuclideanSpace + FiniteDimensional<N = U3>,
impl<S> AttributePolygonGenerator<Normal<S>> for UvSphere where
S: EuclideanSpace + FiniteDimensional<N = U3>,
type Output = BoundedPolygon<Unit<<S as EuclideanSpace>::CoordinateSpace>>
fn polygon_from(&self, _: &Self::State, index: usize) -> Self::Output
sourceimpl<S> AttributePolygonGenerator<Position<S>> for UvSphere where
S: EuclideanSpace + FiniteDimensional<N = U3>,
impl<S> AttributePolygonGenerator<Position<S>> for UvSphere where
S: EuclideanSpace + FiniteDimensional<N = U3>,
type Output = BoundedPolygon<S>
fn polygon_from(&self, state: &Self::State, index: usize) -> Self::Output
sourceimpl<S> AttributeVertexGenerator<Normal<S>> for UvSphere where
S: EuclideanSpace + FiniteDimensional<N = U3>,
impl<S> AttributeVertexGenerator<Normal<S>> for UvSphere where
S: EuclideanSpace + FiniteDimensional<N = U3>,
type Output = Unit<<S as EuclideanSpace>::CoordinateSpace>
fn vertex_count(&self) -> usize
fn vertex_from(&self, _: &Self::State, index: usize) -> Self::Output
sourceimpl<S> AttributeVertexGenerator<Position<S>> for UvSphere where
S: EuclideanSpace + FiniteDimensional<N = U3>,
impl<S> AttributeVertexGenerator<Position<S>> for UvSphere where
S: EuclideanSpace + FiniteDimensional<N = U3>,
type Output = S
fn vertex_count(&self) -> usize
fn vertex_from(&self, state: &Self::State, index: usize) -> Self::Output
sourceimpl Generator for UvSphere
impl Generator for UvSphere
sourcefn vertices<A>(
&self
) -> Generate<'_, Self, Self::State, <Self as AttributeVertexGenerator<A>>::Output>ⓘNotable traits for Generate<'a, G, S, P>impl<'a, G, S, P> Iterator for Generate<'a, G, S, P> where
G: 'a, type Item = P;
where
Self: AttributeVertexGenerator<A>,
A: Attribute,
fn vertices<A>(
&self
) -> Generate<'_, Self, Self::State, <Self as AttributeVertexGenerator<A>>::Output>ⓘNotable traits for Generate<'a, G, S, P>impl<'a, G, S, P> Iterator for Generate<'a, G, S, P> where
G: 'a, type Item = P;
where
Self: AttributeVertexGenerator<A>,
A: Attribute,
G: 'a, type Item = P;
Gets an iterator over the set of unique vertices with the given attribute data. Read more
fn vertices_from<A>(
&self,
state: Self::State
) -> Generate<'_, Self, Self::State, <Self as AttributeVertexGenerator<A>>::Output>ⓘNotable traits for Generate<'a, G, S, P>impl<'a, G, S, P> Iterator for Generate<'a, G, S, P> where
G: 'a, type Item = P;
where
Self: AttributeVertexGenerator<A>,
A: Attribute,
G: 'a, type Item = P;
sourcefn polygons<A>(
&self
) -> Generate<'_, Self, Self::State, <Self as AttributePolygonGenerator<A>>::Output>ⓘNotable traits for Generate<'a, G, S, P>impl<'a, G, S, P> Iterator for Generate<'a, G, S, P> where
G: 'a, type Item = P;
where
Self: AttributePolygonGenerator<A>,
A: Attribute,
fn polygons<A>(
&self
) -> Generate<'_, Self, Self::State, <Self as AttributePolygonGenerator<A>>::Output>ⓘNotable traits for Generate<'a, G, S, P>impl<'a, G, S, P> Iterator for Generate<'a, G, S, P> where
G: 'a, type Item = P;
where
Self: AttributePolygonGenerator<A>,
A: Attribute,
G: 'a, type Item = P;
Gets an iterator over the set of polygons with the given attribute data. Read more
fn polygons_from<A>(
&self,
state: Self::State
) -> Generate<'_, Self, Self::State, <Self as AttributePolygonGenerator<A>>::Output>ⓘNotable traits for Generate<'a, G, S, P>impl<'a, G, S, P> Iterator for Generate<'a, G, S, P> where
G: 'a, type Item = P;
where
Self: AttributePolygonGenerator<A>,
A: Attribute,
G: 'a, type Item = P;
sourcefn indexing_polygons<A>(&self) -> Generate<'_, Self, (), Self::Output>ⓘNotable traits for Generate<'a, G, S, P>impl<'a, G, S, P> Iterator for Generate<'a, G, S, P> where
G: 'a, type Item = P;
where
Self: IndexingPolygonGenerator<A>,
A: Attribute,
fn indexing_polygons<A>(&self) -> Generate<'_, Self, (), Self::Output>ⓘNotable traits for Generate<'a, G, S, P>impl<'a, G, S, P> Iterator for Generate<'a, G, S, P> where
G: 'a, type Item = P;
where
Self: IndexingPolygonGenerator<A>,
A: Attribute,
G: 'a, type Item = P;
Gets an iterator over a set of polygons that index the unique set of vertices with the given attribute. Read more
sourceimpl<S> IndexingPolygonGenerator<Normal<S>> for UvSphere
impl<S> IndexingPolygonGenerator<Normal<S>> for UvSphere
type Output = BoundedPolygon<usize>
fn indexing_polygon(&self, index: usize) -> Self::Output
sourceimpl<S> IndexingPolygonGenerator<Position<S>> for UvSphere
impl<S> IndexingPolygonGenerator<Position<S>> for UvSphere
type Output = BoundedPolygon<usize>
fn indexing_polygon(&self, index: usize) -> Self::Output
sourceimpl PolygonGenerator for UvSphere
impl PolygonGenerator for UvSphere
fn polygon_count(&self) -> usize
impl Copy for UvSphere
Auto Trait Implementations
impl RefUnwindSafe for UvSphere
impl Send for UvSphere
impl Sync for UvSphere
impl Unpin for UvSphere
impl UnwindSafe for UvSphere
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> FromGeometry<T> for T
impl<T> FromGeometry<T> for T
fn from_geometry(other: T) -> T
sourceimpl<T, U> IntoGeometry<U> for T where
U: FromGeometry<T>,
impl<T, U> IntoGeometry<U> for T where
U: FromGeometry<T>,
fn into_geometry(self) -> U
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.