pub struct vtkPolygon(/* private fields */);Expand description
a cell that represents an n-sided polygon
vtkPolygon is a concrete implementation of vtkCell to represent a 2D n-sided polygon. The polygons cannot have any internal holes, and cannot self-intersect. Define the polygon with n-points ordered in the counter- clockwise direction; do not repeat the last point.
Implementations§
Source§impl vtkPolygon
impl vtkPolygon
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkPolygon wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkPolygon
impl Default for vtkPolygon
Auto Trait Implementations§
impl Freeze for vtkPolygon
impl RefUnwindSafe for vtkPolygon
impl !Send for vtkPolygon
impl !Sync for vtkPolygon
impl Unpin for vtkPolygon
impl UnwindSafe for vtkPolygon
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