Example #1
0
    def rotate(pointsCloud, theta):
        rotated = []

        for point in pointsCloud:
            rotated.append(TupleOperations.rotate(point, theta))

        return rotated
Example #2
0
    def scale(pointsCloud, scaleFactor):
        scaled = []

        for point in pointsCloud:
            scaled.append(TupleOperations.scale(point, scaleFactor))

        return scaled
Example #3
0
    def move(pointsCloud, deltaX, deltaY):
        moved = []

        for point in pointsCloud:
            moved.append(TupleOperations.move(point, deltaX, deltaY))

        return moved