original_docstring: 
          Rotate alignpoint around insert point about rotation degrees.
          
docstring: Rotate alignpoint around insert point about rotation degrees.
docstring_tokens: Rotate alignpoint around insert point about rotation degrees .
code: def _rotate(self, alignpoint: 'Vertex') -> 'Vertex':
          """
          Rotate alignpoint around insert point about rotation degrees.
          """
          dx = alignpoint[0] - self.insert[0]
          dy = alignpoint[1] - self.insert[1]
          beta = math.radians(self.rotation)
          x = self.insert[0] + dx * math.cos(beta) - dy * math.sin(beta)
          y = self.insert[1] + dy * math.cos(beta) + dx * math.sin(beta)
          return round(x, 6), round(y, 6), alignpoint[2]
code_tokens: def _rotate ( self , alignpoint : 'Vertex' ) -> 'Vertex' : dx = alignpoint [ 0 ] - self . insert [ 0 ] dy = alignpoint [ 1 ] - self . insert [ 1 ] beta = math . radians ( self . rotation ) x = self . insert [ 0 ] + dx * math . cos ( beta ) - dy * math . sin ( beta ) y = self . insert [ 1 ] + dy * math . cos ( beta ) + dx * math . sin ( beta ) return round ( x , 6 ) , round ( y , 6 ) , alignpoint [ 2 ]
short_docstring: Rotate alignpoint around insert point about rotation degrees.
short_docstring_tokens: Rotate alignpoint around insert point about rotation degrees .
comment: """
          Rotate alignpoint around insert point about rotation degrees.
          """