Lines Matching full:angle
268 a.rotate(angle) rotation
287 def rotate(self, angle):
288 """rotate self counterclockwise by angle
291 angle = angle * math.pi / 180.0
292 c, s = math.cos(angle), math.sin(angle)
1480 """ Set angle measurement units to degrees.
1485 Set angle measurement units, i. e. set number
1494 Change angle measurement unit to grad (also known as gon,
1495 grade, or gradian and equals 1/100-th of the right angle.)
1504 """ Set the angle measurement units to radians.
1522 def _rotate(self, angle):
1523 """Turn turtle counterclockwise by specified angle if angle > 0."""
1524 angle *= self._degreesPerAU
1525 self._orient = self._orient.rotate(angle)
1574 def right(self, angle):
1575 """Turn turtle right by angle units.
1580 angle -- a number (integer or float)
1582 Turn turtle right by angle units. (Units are by default degrees,
1584 Angle orientation depends on mode. (See this.)
1593 self._rotate(-angle)
1595 def left(self, angle):
1596 """Turn turtle left by angle units.
1601 angle -- a number (integer or float)
1603 Turn turtle left by angle units. (Units are by default degrees,
1605 Angle orientation depends on mode. (See this.)
1614 self._rotate(angle)
1776 """Return the angle of the line from the turtle's position to (x, y).
1787 Return the angle, between the line from turtle-position to position
1848 angle = (to_angle - self.heading())*self._angleOrient
1850 angle = (angle+full/2.)%full - full/2.
1851 self._rotate(angle)
1862 of the turtle; extent - an angle - determines which part of the
2722 def settiltangle(self, angle):
2726 angle -- number
2728 Rotate the turtleshape to point in the direction specified by angle,
2729 regardless of its current tilt-angle. DO NOT change the turtle's
2743 tilt = -angle * self._degreesPerAU * self._angleOrient
2748 """Return the current tilt-angle.
2752 Return the current tilt-angle, i. e. the angle between the
2765 def tilt(self, angle):
2766 """Rotate the turtleshape by angle.
2769 angle - a number
2771 Rotate the turtleshape by angle from its current tilt-angle,
2782 self.settiltangle(angle + self.tiltangle())
3094 def _rotate(self, angle):
3095 """Turns pen clockwise by angle.
3098 self.undobuffer.push(("rot", angle, self._degreesPerAU))
3099 angle *= self._degreesPerAU
3100 neworient = self._orient.rotate(angle)
3104 steps = 1 + int(abs(angle)/anglevel)
3105 delta = 1.0*angle/steps
3487 angle, degPAU = data
3488 self._rotate(-angle*degPAU/self._degreesPerAU)