pub struct vtkPyramid(/* private fields */);Expand description
a 3D cell that represents a linear pyramid
vtkPyramid is a concrete implementation of vtkCell to represent a 3D pyramid. A pyramid consists of a rectangular base with four triangular faces. vtkPyramid uses the standard isoparametric shape functions for a linear pyramid. The pyramid is defined by the five points (0-4) where (0,1,2,3) is the base of the pyramid which, using the right hand rule, forms a quadrilaterial whose normal points in the direction of the pyramid apex at vertex #4. The parametric location of vertex #4 is [0, 0, 1].
@sa vtkConvexPointSet vtkHexahedron vtkTetra vtkVoxel vtkWedge
Implementations§
Source§impl vtkPyramid
impl vtkPyramid
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkPyramid wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkPyramid
impl Default for vtkPyramid
Auto Trait Implementations§
impl Freeze for vtkPyramid
impl RefUnwindSafe for vtkPyramid
impl !Send for vtkPyramid
impl !Sync for vtkPyramid
impl Unpin for vtkPyramid
impl UnwindSafe for vtkPyramid
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