Trait rust_3d::traits::IsScalable
[−]
[src]
pub trait IsScalable { fn scale(&mut self, factor: Positive); }
IsScalable trait used for types that can have their size scaled by a factor
Required Methods
fn scale(&mut self, factor: Positive)
Should scale by the given factor. 0.5 -> half size, 2.0 double the size without moving the position/center
Implementors
impl IsScalable for FilterBox2D
impl IsScalable for FilterBox3D
impl IsScalable for FilterCircle
impl IsScalable for FilterSphere
impl<S, P> IsScalable for FilterOutlier3D<S, P> where
P: Is3D,
S: IsSphereSearchable<P>,impl IsScalable for LineSegment2D
impl IsScalable for LineSegment3D
impl<P> IsScalable for PointCloud2D<P> where
P: IsEditable2D,impl<P> IsScalable for PointCloud3D<P> where
P: IsEditable3D,impl IsScalable for BoundingBox2D
impl IsScalable for BoundingBox3D
impl<P> IsScalable for Mesh3D<P> where
P: IsEditable3D,impl<M, T> IsScalable for SearchableMesh<M, T> where
M: IsMesh<T, Face3> + IsScalable,impl IsScalable for Circle
impl IsScalable for Box2D
impl IsScalable for Sphere
impl IsScalable for Box3D