[][src]Struct hexasphere::IcoSphereBase

pub struct IcoSphereBase;

Implements an icosahedron as the base shape.

  • 12 vertices
  • 20 faces
  • 30 edges

This shape has the best results for a sphere.

The resulting smaller triangles are close to being equilateral, so if one draws lines from the center of the each triangle to the middle of the each edge then the result will be 12 pentagons and many hexagons.

Trait Implementations

impl BaseShape for IcoSphereBase[src]

impl Clone for IcoSphereBase[src]

impl Copy for IcoSphereBase[src]

impl Debug for IcoSphereBase[src]

impl Default for IcoSphereBase[src]

impl EquilateralBaseShape for IcoSphereBase[src]

Auto Trait Implementations

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.