pub struct LocationArray<'a> {
pub ptex_face: Index,
pub u: &'a [f32],
pub v: &'a [f32],
}Expand description
A set of parametric locations on one ptex face at which limit stencils
are requested (Far::LimitStencilTableFactory::LocationArray).
u and v are parallel slices of coordinates in the parametric space
of ptex_face — the same space PatchMap::find_patch and
PatchTable::evaluate use.
Fields§
§ptex_face: IndexThe ptex face the locations lie on (see
PtexIndices).
u: &'a [f32]The u coordinate of each location.
v: &'a [f32]The v coordinate of each location, parallel to u.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for LocationArray<'a>
impl<'a> Clone for LocationArray<'a>
impl<'a> Copy for LocationArray<'a>
Auto Trait Implementations§
impl<'a> Forget for LocationArray<'a>
impl<'a> Freeze for LocationArray<'a>
impl<'a> Move for LocationArray<'a>
impl<'a> RefUnwindSafe for LocationArray<'a>
impl<'a> Send for LocationArray<'a>
impl<'a> Sync for LocationArray<'a>
impl<'a> Unpin for LocationArray<'a>
impl<'a> UnsafeUnpin for LocationArray<'a>
impl<'a> UnwindSafe for LocationArray<'a>
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