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<Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>>;
type ArrayPoint: Array1<OPoint<f32, Const<2>>>;
type ArrayIdx: Array1<[u32; 3]>;
type ArrayVectorTriple: Array1<[Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>; 3]>;
}
Expand description
Trait describing all the types needed for storing a triangle mesh’s data.
Required Associated Types§
sourcetype QbvhStorage: QbvhStorage<u32>
type QbvhStorage: QbvhStorage<u32>
Storage needed to store a Qbvh.
sourcetype ArrayTopoVertex: Array1<TopoVertex>
type ArrayTopoVertex: Array1<TopoVertex>
Storage needed to store topology vertices.
sourcetype ArrayTopoFace: Array1<TopoFace>
type ArrayTopoFace: Array1<TopoFace>
Storage needed to store topology faces.
sourcetype ArrayTopoHalfEdge: Array1<TopoHalfEdge>
type ArrayTopoHalfEdge: Array1<TopoHalfEdge>
Storage needed to store topology half-edges.
sourcetype ArrayUsize: Array1<usize>
type ArrayUsize: Array1<usize>
Storage needed to store usize.
sourcetype ArrayVector: Array1<Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>>
type ArrayVector: Array1<Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>>
Storage needed to store vectors.
sourcetype ArrayVectorTriple: Array1<[Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>; 3]>
type ArrayVectorTriple: Array1<[Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>; 3]>
Storage needed to store triples of vectors.