Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
-->
<head><metahttp-equiv="Content-Type"content="text/html; charset=ISO-8859-1"><title>Function template circle_graph_layout</title></head><bodybgcolor="white"text="black"link="#0000FF"vlink="#840084"alink="#0000FF"><tablecellpadding="2"width="100%"><tdvalign="top"><imgsrc="../../../boost.png"alt="boost.png (6897 bytes)"width="277"height="86"></td><tdalign="center"><ahref="../../../index.htm">Home</a></td><tdalign="center"><ahref="../../libraries.htm">Libraries</a></td><tdalign="center"><ahref="http://www.boost.org/people/people.htm">People</a></td><tdalign="center"><ahref="http://www.boost.org/more/faq.htm">FAQ</a></td><tdalign="center"><ahref="../../../more/index.htm">More</a></td></table><hr><divclass="refentry"lang="en"><aname="id103562-bb"></a><divclass="titlepage"><div></div><div></div></div><divclass="refnamediv"><h2><imgsrc="figs/python.gif"alt="(Python)"/><spanclass="refentrytitle">Function template circle_graph_layout</span></h2><p>boost::circle_graph_layout — Layout the graph with the vertices at the points of a regular n-polygon. </p></div><h2xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"class="refsynopsisdiv-title">Synopsis</h2><divxmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"class="refsynopsisdiv"><preclass="synopsis">
<EFBFBD><EFBFBD><spanclass="type"><spanclass="bold"><b>void</b></span></span> circle_graph_layout(<spanclass="bold"><b>const</b></span> VertexListGraph & g, PositionMap position,
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Radius radius);</pre></div><divclass="refsect1"lang="en"><aname="id821794"></a><h2>Where Defined</h2><ahref="../../../boost/graph/circle_layout.hpp">boost/graph/circle_layout.hpp</a><h2>Description</h2><p>The distance from the center of the polygon to each point is determined by the <ttclass="computeroutput">radius</tt> parameter. The <ttclass="computeroutput">position</tt> parameter must be an Lvalue Property Map whose value type is a class type containing <ttclass="computeroutput">x</tt> and <ttclass="computeroutput">y</tt> members that will be set to the <ttclass="computeroutput">x</tt> and <ttclass="computeroutput">y</tt> coordinates.