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 FilterBox2Dimpl IsScalable for FilterBox3Dimpl IsScalable for FilterCircleimpl IsScalable for FilterSphereimpl<S, P> IsScalable for FilterOutlier3D<S, P> where
P: Is3D,
S: IsSphereSearchable<P>,impl IsScalable for LineSegment2Dimpl IsScalable for LineSegment3Dimpl<P> IsScalable for PointCloud2D<P> where
P: IsEditable2D,impl<P> IsScalable for PointCloud3D<P> where
P: IsEditable3D,impl IsScalable for BoundingBox2Dimpl IsScalable for BoundingBox3Dimpl<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 Circleimpl IsScalable for Box2Dimpl IsScalable for Sphereimpl IsScalable for Box3D