sknano.core.math.Points¶
-
class
sknano.core.math.Points(points=None)[source][source]¶ Container class for collection of
Pointobjects.Parameters: points : {None, sequence,
Points}, optionalAttributes
xReturn \(x\) coordinates of Pointobjects as array.yReturn \(y\) coordinates of Pointobjects as array.zReturn \(z\) coordinates of Pointobjects as array.Methods
append(item)clear()copy()count(item)extend(other)filter(condition[, invert])Filter Pointsby 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 Points coordinates.sort([key, reverse])translate(t)Translate Points byVectort.