Module rust_3d::traits [] [src]

Containing traits used by rust-3d

Traits

HasBoundingBox2D

HasBoundingBox2D is a trait for types which might have a bounding box

HasBoundingBox3D

HasBoundingBox3D is a trait for types which might have a bounding box

HasCenterOfGravity2D

HasCenterOfGravity2D is a trait for types which might have a center of gravity

HasCenterOfGravity3D

HasCenterOfGravity3D is a trait for types which might have a center of gravity

HasDistanceTo

HasDistanceTo trait used for types which have a defined distance towards another T. Implementing HasDistanceTo for U also implements HasDistanceTo for T

HasLength

HasLength is a trait used for types which have a physical length

Is2D

Is2D is a trait used for types which are positioned within the 2D space

Is3D

Is3D is a trait used for types which are positioned within the 3D space

IsBox3DSearchable

IsBox3DSearchable trait used for search structures which can be queried for elements within a 3D box You should only implement this, if your solution is rather efficient

IsBuildable2D

IsBuildable2D is a trait used for types which are positioned in 2D space and can be constructed

IsBuildable3D

IsBuildable3D is a trait used for types which are positioned in 3D space and can be constructed

IsBuildableND

IsBuildableND is a trait used for types which are positioned in n-dimensional space and can be constructed

IsDirectionField2D

IsDirectionField2D is a trait used for fields of directions within 2D space

IsDirectionField3D

IsDirectionField3D is a trait used for fields of directions within 3D space

IsEditable2D

IsEditable2D is a trait used for types which are positioned in 2D space and their position can be changed

IsEditable3D

IsEditable3D is a trait used for types which are positioned in 3D space and their position can be changed

IsEditableMesh

IsEditableMesh is a trait used for meshes which can be edited

IsEditableND

IsEditableND is a trait used for types which are positioned in n-dimensional space and their position can be changed

IsFilter

IsFilter trait used for filters

IsFilterRandomAccessible

IsFilterRandomAccessible is a trait used for filters for random accessible collections

IsKNearestSearchable

IsKNearestSearchable trait used for search structures which can be queried for nearest neighbours. You should only implement this, if your solution is rather efficient

IsMergeable

IsMergeable trait used for types which can be merged with their own type

IsMesh

IsMesh is trait used for meshes

IsMesh3D

IsMesh3D is trait used for meshes in 3D space

IsMovable2D

IsMovable2D is a trait used for types within 2D space which can be moved

IsMovable3D

IsMovable3D is a trait used for types within 3D space which can be moved

IsND

IsND is a trait used for types which are positioned within the n-dimensional space

IsNormalized2D

IsNormalized2D is a trait used for types which are positioned within the 2D space and normalized

IsNormalized3D

IsNormalized3D is a trait used for types which are positioned within the 3D space and normalized

IsOcTree

IsOcTree is a trait used for OcTrees

IsPlane3D

IsPlane3D is a trait used for planes within 3D space

IsProjectionToPlane

IsProjectionToPlane is a trait used types which can be projected onto and from planes within 3D space

IsRandomAccessible

IsRandomAccessible is a trait used for collections of elements which are random accessible

IsRandomInsertible

IsRandomInsertible is a trait used for collections of elements which are random insertible

IsSearchableMesh

IsSearchableMesh trait used for meshes which have extended search methods

IsSortable2D

IsSortable2D trait used for collections which can be sorted by x or y

IsSortable3D

IsSortable3D trait used for collections which can be sorted by x,y or z

IsSortableND

IsSortableND trait used for collections which can be sorted by certain dimensions. E.g. x,y,z

IsSphereSearchable

IsSphereSearchable trait used for search structures which can be queried for elements within a sphere You should only implement this, if your solution is rather efficient

IsTopologyUnit

IsTopologyUnit trait used for single units of a topology. E.g. size 1 for paths, size 3 for tri meshes, size 4 for quad meshes

IsTransFormableTo2D

IsTransFormableTo2D is a trait used for any type which can be transformed 2D space

IsTransFormableTo3D

IsTransFormableTo3D is a trait used for any type which can be transformed 3D space

IsTree3D

IsTree3D is a trait used for types which are any type of tree within 3D space

IsViewBuildable

IsViewBuildable trait used for types which can be constructed from a view / have a view applied to them

IsVoxelImage

IsVoxelImage is a trait used for any type of voxel image