pub struct vtkSpheres(/* private fields */);Expand description
implicit function for a set of spheres
vtkSpheres computes the implicit function and function gradient for a set of spheres. The spheres are combined via a union operation (i.e., the minimum value from the evaluation of all spheres is taken).
The function value is the distance of a point to the closest sphere, with negative values interior to the spheres, positive outside the spheres, and distance=0 on the spheres surface. The function gradient is the sphere normal at the function value.
@sa vtkPlanes vtkImplicitBoolean
Implementations§
Source§impl vtkSpheres
impl vtkSpheres
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkSpheres wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkSpheres
impl Default for vtkSpheres
Auto Trait Implementations§
impl Freeze for vtkSpheres
impl RefUnwindSafe for vtkSpheres
impl !Send for vtkSpheres
impl !Sync for vtkSpheres
impl Unpin for vtkSpheres
impl UnwindSafe for vtkSpheres
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