(self)
return [Point(c.x + r*cos(k*v + rot), c.y + r*sin(k*v + rot))
                for k in xrange(self._n)]
The vertices of the RegularPolygon.

        Returns
        =======

        vertices : list
            Each vertex is a Point.

        See Also
        ========

        sympy.geometry.point.Point

        Examples
        ========

        >>> from sympy.geometry import RegularPolygon, Point
        >>> rp = RegularPolygon(Point(0, 0), 5, 4)
        >>> rp.vertices
        [Point(5, 0), Point(0, 5), Point(-5, 0), Point(0, -5)]
The vertices of the RegularPolygon.
The vertices of the RegularPolygon .
def vertices(self):
        """The vertices of the RegularPolygon.

        Returns
        =======

        vertices : list
            Each vertex is a Point.

        See Also
        ========

        sympy.geometry.point.Point

        Examples
        ========

        >>> from sympy.geometry import RegularPolygon, Point
        >>> rp = RegularPolygon(Point(0, 0), 5, 4)
        >>> rp.vertices
        [Point(5, 0), Point(0, 5), Point(-5, 0), Point(0, -5)]

        """
        c = self._center
        r = abs(self._radius)
        rot = self._rot
        v = 2*S.Pi/self._n

        return [Point(c.x + r*cos(k*v + rot), c.y + r*sin(k*v + rot))
                for k in xrange(self._n)]
def vertices ( self ) : c = self . _center r = abs ( self . _radius ) rot = self . _rot v = 2 * S . Pi / self . _n return [ Point ( c . x + r * cos ( k * v + rot ) , c . y + r * sin ( k * v + rot ) ) for k in xrange ( self . _n ) ]