[][src]Trait plexus::UnitGeometry

pub trait UnitGeometry { }

Geometry elision.

Geometric types that implement this trait may be elided. In particular, these types may be converted into and from () via the FromGeometry and IntoGeometry traits.

For a geometric type T, the following table illustrates the elisions in which T may participate:

Bounds on TFromInto
UnitGeometryT()
Default + UnitGeometry()T

These conversions are useful when converting between mesh data structures with incompatible geometry, such as from a MeshGraph with face geometry to a MeshBuffer that cannot support such geometry.

When geometry features are enabled, UnitGeometry is implemented for integrated foreign types.

Implementations on Foreign Types

impl<T> UnitGeometry for Point2<T>[src]

impl<T> UnitGeometry for Point3<T>[src]

impl<T> UnitGeometry for Point2<T>[src]

impl<T> UnitGeometry for Point3<T>[src]

impl<T, D> UnitGeometry for Point<T, D> where
    T: Scalar,
    D: DimName,
    DefaultAllocator: Allocator<T, D>, 
[src]

Loading content...

Implementors

Loading content...