Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/c/h/Chiplotle-0.4/chiplotle/geometry/transforms/rotate.py   Chiplotle(Download)
from chiplotle.geometry.core.coordinate import Coordinate
from chiplotle.geometry.core.group import Group
from chiplotle.tools.mathtools.rotate_2d import rotate_2d
from chiplotle.geometry.transforms.transformvisitor import TransformVisitor
 
   def rotate(coords, angle, pivot = pivot):
      return rotate_2d(coords, angle, pivot)
 
   t = TransformVisitor(rotate)
   t.visit(shape, angle, pivot)