sknano.core.math.Points¶
-
class
sknano.core.math.
Points
(points=None)[source][source]¶ Container class for collection of
Point
objects.Parameters: points : {None, sequence,
Points
}, optionalAttributes
x
Return \(x\) coordinates of Point
objects as array.y
Return \(y\) coordinates of Point
objects as array.z
Return \(z\) coordinates of Point
objects as array.Methods
append
(item)clear
()copy
()count
(item)extend
(other)filter
(condition[, invert])Filter Points
by condition.index
(item, *args)insert
(i, item)pop
([i])remove
(item)reverse
()rezero
([epsilon])Set really really small coordinates to zero. rotate
([angle, axis, anchor_point, ...])Rotate Point
s coordinates.sort
([key, reverse])translate
(t)Translate Point
s byVector
t.