pub struct vtkCylindricalTransform(/* private fields */);Expand description
cylindrical to rectangular coords and back
vtkCylindricalTransform will convert (r,theta,z) coordinates to (x,y,z) coordinates and back again. The angles are given in radians. By default, it converts cylindrical coordinates to rectangular, but GetInverse() returns a transform that will do the opposite. The equation that is used is x = rcos(theta), y = rsin(theta), z = z. @warning This transform is not well behaved along the line x=y=0 (i.e. along the z-axis) @sa vtkSphericalTransform vtkGeneralTransform
Implementations§
Source§impl vtkCylindricalTransform
impl vtkCylindricalTransform
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkCylindricalTransform wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkCylindricalTransform
impl Default for vtkCylindricalTransform
Auto Trait Implementations§
impl Freeze for vtkCylindricalTransform
impl RefUnwindSafe for vtkCylindricalTransform
impl !Send for vtkCylindricalTransform
impl !Sync for vtkCylindricalTransform
impl Unpin for vtkCylindricalTransform
impl UnwindSafe for vtkCylindricalTransform
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