Trait heron::rapier_plugin::rapier::ncollide::procedural::path::PolylineCompatibleCap [−][src]
Trait to be implemented by caps compatible with a PolylinePattern
.
Required methods
pub fn gen_start_cap(
&self,
attach_id: u32,
pattern: &[Point<N, U3>],
pt: &Point<N, U3>,
dir: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
closed: bool,
coords: &mut Vec<Point<N, U3>, Global>,
indices: &mut Vec<Point<u32, U3>, Global>
)
[src]
&self,
attach_id: u32,
pattern: &[Point<N, U3>],
pt: &Point<N, U3>,
dir: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
closed: bool,
coords: &mut Vec<Point<N, U3>, Global>,
indices: &mut Vec<Point<u32, U3>, Global>
)
Generates the mesh for the cap at the beginning of a path.
pub fn gen_end_cap(
&self,
attach_id: u32,
pattern: &[Point<N, U3>],
pt: &Point<N, U3>,
dir: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
closed: bool,
coords: &mut Vec<Point<N, U3>, Global>,
indices: &mut Vec<Point<u32, U3>, Global>
)
[src]
&self,
attach_id: u32,
pattern: &[Point<N, U3>],
pt: &Point<N, U3>,
dir: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
closed: bool,
coords: &mut Vec<Point<N, U3>, Global>,
indices: &mut Vec<Point<u32, U3>, Global>
)
Generates the mesh for the cap at the end of a path.
Implementors
impl<N> PolylineCompatibleCap<N> for ArrowheadCap<N> where
N: RealField,
[src]
N: RealField,
pub fn gen_end_cap(
&self,
attach_id: u32,
pattern: &[Point<N, U3>],
pt: &Point<N, U3>,
dir: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
closed: bool,
coords: &mut Vec<Point<N, U3>, Global>,
indices: &mut Vec<Point<u32, U3>, Global>
)
[src]
&self,
attach_id: u32,
pattern: &[Point<N, U3>],
pt: &Point<N, U3>,
dir: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
closed: bool,
coords: &mut Vec<Point<N, U3>, Global>,
indices: &mut Vec<Point<u32, U3>, Global>
)
pub fn gen_start_cap(
&self,
attach_id: u32,
pattern: &[Point<N, U3>],
pt: &Point<N, U3>,
dir: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
closed: bool,
coords: &mut Vec<Point<N, U3>, Global>,
indices: &mut Vec<Point<u32, U3>, Global>
)
[src]
&self,
attach_id: u32,
pattern: &[Point<N, U3>],
pt: &Point<N, U3>,
dir: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
closed: bool,
coords: &mut Vec<Point<N, U3>, Global>,
indices: &mut Vec<Point<u32, U3>, Global>
)
impl<N> PolylineCompatibleCap<N> for NoCap where
N: RealField,
[src]
N: RealField,
pub fn gen_start_cap(
&self,
u32,
&[Point<N, U3>],
&Point<N, U3>,
&Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
bool,
&mut Vec<Point<N, U3>, Global>,
&mut Vec<Point<u32, U3>, Global>
)
[src]
&self,
u32,
&[Point<N, U3>],
&Point<N, U3>,
&Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
bool,
&mut Vec<Point<N, U3>, Global>,
&mut Vec<Point<u32, U3>, Global>
)
pub fn gen_end_cap(
&self,
u32,
&[Point<N, U3>],
&Point<N, U3>,
&Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
bool,
&mut Vec<Point<N, U3>, Global>,
&mut Vec<Point<u32, U3>, Global>
)
[src]
&self,
u32,
&[Point<N, U3>],
&Point<N, U3>,
&Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
bool,
&mut Vec<Point<N, U3>, Global>,
&mut Vec<Point<u32, U3>, Global>
)