Point.transformed_collection
-
static
Point.
transformed_collection
(collection, X)[source] Create a collection of transformed points.
- Parameters
collection (list of
compas.geometry.Point
) – The collection of points.- Returns
list of
compas.geometry.Point
– The transformed points.
Examples
>>> T = Translation([1.0, 2.0, 3.0]) >>> a = Point(0.0, 0.0, 0.0) >>> points = [a] >>> points = Point.transformed_collection(points, T) >>> b = points[0] >>> b Point(1.000, 2.000, 3.000) >>> a is b False