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<3>, Const<1>, ArrayStorage<f32, 3, 1>>>;
type ArrayPoint: Array1<OPoint<f32, Const<3>>>;
type ArrayIdx: Array1<[u32; 3]>;
type ArrayVectorTriple: Array1<[Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 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<3>, Const<1>, ArrayStorage<f32, 3, 1>>>
type ArrayVector: Array1<Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>>
Storage needed to store vectors.
Sourcetype ArrayVectorTriple: Array1<[Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>; 3]>
type ArrayVectorTriple: Array1<[Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>; 3]>
Storage needed to store triples of vectors.