pub struct TransPolar {
pub base_angle: f64,
pub base_scale: f64,
pub base_x: f64,
pub base_y: f64,
pub translation_x: f64,
pub translation_y: f64,
pub spiral: f64,
}Expand description
Polar coordinate transformation.
Maps rectangular coordinates to polar space, optionally with spiral effect.
Fields§
§base_angle: f64§base_scale: f64§base_x: f64§base_y: f64§translation_x: f64§translation_y: f64§spiral: f64Implementations§
Source§impl TransPolar
impl TransPolar
Trait Implementations§
Source§impl Clone for TransPolar
impl Clone for TransPolar
Source§fn clone(&self) -> TransPolar
fn clone(&self) -> TransPolar
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Transformer for TransPolar
impl Transformer for TransPolar
impl Copy for TransPolar
Auto Trait Implementations§
impl Freeze for TransPolar
impl RefUnwindSafe for TransPolar
impl Send for TransPolar
impl Sync for TransPolar
impl Unpin for TransPolar
impl UnwindSafe for TransPolar
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more