pub fn transform_point_cloud<T, const N: usize, R>(
source_points: &[Point<T, N>],
isometry_matrix: Isometry<T, R, N>,
) -> Vec<Point<T, N>> ⓘwhere
T: RealField,
R: AbstractRotation<T, N>,
Expand description
Transform a point cloud, returning a transformed copy. This function does not mutate the original point cloud.
§Arguments
source_points
: a slice ofPoint
, representing the point cloudisometry_matrix
: a transform that implementsAbstractRotation
, to use for the transformation.
§Generics
T
: Either anf32
orf64
.N
: A const usize, either2
or3
.R
: AnAbstractRotation
forT
andN
.