pub trait TriMeshStorage {
    type QbvhStorage: QbvhStorage<u32>;
    type ArrayTopoVertex: Array1<TopoVertex>;
    type ArrayTopoFace: Array1<TopoFace>;
    type ArrayTopoHalfEdge: Array1<TopoHalfEdge>;
    type ArrayU32: Array1<u32>;
    type ArrayUsize: Array1<usize>;
    type ArrayVector: Array1<Vector<Real>>;
    type ArrayPoint: Array1<Point<Real>>;
    type ArrayIdx: Array1<[u32; 3]>;
    type ArrayVectorTriple: Array1<[Vector<Real>; 3]>;
}
Expand description

Trait describing all the types needed for storing a triangle mesh’s data.

Required Associated Types§

source

type QbvhStorage: QbvhStorage<u32>

Storage needed to store a Qbvh.

source

type ArrayTopoVertex: Array1<TopoVertex>

Storage needed to store topology vertices.

source

type ArrayTopoFace: Array1<TopoFace>

Storage needed to store topology faces.

source

type ArrayTopoHalfEdge: Array1<TopoHalfEdge>

Storage needed to store topology half-edges.

source

type ArrayU32: Array1<u32>

Storage needed to store u32

source

type ArrayUsize: Array1<usize>

Storage needed to store usize.

source

type ArrayVector: Array1<Vector<Real>>

Storage needed to store vectors.

source

type ArrayPoint: Array1<Point<Real>>

Storage needed to store points.

source

type ArrayIdx: Array1<[u32; 3]>

Storage needed to store triangle indices.

source

type ArrayVectorTriple: Array1<[Vector<Real>; 3]>

Storage needed to store triples of vectors.

Implementors§