| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> |
| <title>assign_values (4 coordinate values)</title> |
| <link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css"> |
| <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> |
| <link rel="home" href="../../../../index.html" title="Chapter 1. Geometry"> |
| <link rel="up" href="../assign.html" title="assign"> |
| <link rel="prev" href="assign_values_4_3_coordinate_values.html" title="assign_values (3 coordinate values)"> |
| <link rel="next" href="assign_zero.html" title="assign_zero"> |
| </head> |
| <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| <table cellpadding="2" width="100%"><tr> |
| <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td> |
| <td align="center"><a href="../../../../../../../../index.html">Home</a></td> |
| <td align="center"><a href="../../../../../../../../libs/libraries.htm">Libraries</a></td> |
| <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> |
| <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> |
| <td align="center"><a href="../../../../../../../../more/index.htm">More</a></td> |
| </tr></table> |
| <hr> |
| <div class="spirit-nav"> |
| <a accesskey="p" href="assign_values_4_3_coordinate_values.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../assign.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="assign_zero.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> |
| </div> |
| <div class="section"> |
| <div class="titlepage"><div><div><h5 class="title"> |
| <a name="geometry.reference.algorithms.assign.assign_values_5_4_coordinate_values"></a><a class="link" href="assign_values_5_4_coordinate_values.html" title="assign_values (4 coordinate values)">assign_values |
| (4 coordinate values)</a> |
| </h5></div></div></div> |
| <p> |
| <a class="indexterm" name="idp107154912"></a> |
| Assign four values to a geometry (usually a box or segment) |
| </p> |
| <h6> |
| <a name="geometry.reference.algorithms.assign.assign_values_5_4_coordinate_values.h0"></a> |
| <span class="phrase"><a name="geometry.reference.algorithms.assign.assign_values_5_4_coordinate_values.synopsis"></a></span><a class="link" href="assign_values_5_4_coordinate_values.html#geometry.reference.algorithms.assign.assign_values_5_4_coordinate_values.synopsis">Synopsis</a> |
| </h6> |
| <p> |
| </p> |
| <pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Geometry</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Type</span><span class="special">></span> |
| <span class="keyword">void</span> <span class="identifier">assign_values</span><span class="special">(</span><span class="identifier">Geometry</span> <span class="special">&</span> <span class="identifier">geometry</span><span class="special">,</span> <span class="identifier">Type</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">c1</span><span class="special">,</span> <span class="identifier">Type</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">c2</span><span class="special">,</span> |
| <span class="identifier">Type</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">c3</span><span class="special">,</span> <span class="identifier">Type</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">c4</span><span class="special">)</span></pre> |
| <p> |
| </p> |
| <h6> |
| <a name="geometry.reference.algorithms.assign.assign_values_5_4_coordinate_values.h1"></a> |
| <span class="phrase"><a name="geometry.reference.algorithms.assign.assign_values_5_4_coordinate_values.parameters"></a></span><a class="link" href="assign_values_5_4_coordinate_values.html#geometry.reference.algorithms.assign.assign_values_5_4_coordinate_values.parameters">Parameters</a> |
| </h6> |
| <div class="informaltable"><table class="table"> |
| <colgroup> |
| <col> |
| <col> |
| <col> |
| <col> |
| </colgroup> |
| <thead><tr> |
| <th> |
| <p> |
| Type |
| </p> |
| </th> |
| <th> |
| <p> |
| Concept |
| </p> |
| </th> |
| <th> |
| <p> |
| Name |
| </p> |
| </th> |
| <th> |
| <p> |
| Description |
| </p> |
| </th> |
| </tr></thead> |
| <tbody> |
| <tr> |
| <td> |
| <p> |
| Geometry & |
| </p> |
| </td> |
| <td> |
| <p> |
| Any type fulfilling a Geometry Concept |
| </p> |
| </td> |
| <td> |
| <p> |
| geometry |
| </p> |
| </td> |
| <td> |
| <p> |
| A model of the specified concept |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| Type const & |
| </p> |
| </td> |
| <td> |
| <p> |
| numerical type (int, double, ttmath, ...) to specify the coordinates |
| </p> |
| </td> |
| <td> |
| <p> |
| c1 |
| </p> |
| </td> |
| <td> |
| <p> |
| First coordinate (usually x1) |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| Type const & |
| </p> |
| </td> |
| <td> |
| <p> |
| numerical type (int, double, ttmath, ...) to specify the coordinates |
| </p> |
| </td> |
| <td> |
| <p> |
| c2 |
| </p> |
| </td> |
| <td> |
| <p> |
| Second coordinate (usually y1) |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| Type const & |
| </p> |
| </td> |
| <td> |
| <p> |
| numerical type (int, double, ttmath, ...) to specify the coordinates |
| </p> |
| </td> |
| <td> |
| <p> |
| c3 |
| </p> |
| </td> |
| <td> |
| <p> |
| Third coordinate (usually x2) |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| Type const & |
| </p> |
| </td> |
| <td> |
| <p> |
| numerical type (int, double, ttmath, ...) to specify the coordinates |
| </p> |
| </td> |
| <td> |
| <p> |
| c4 |
| </p> |
| </td> |
| <td> |
| <p> |
| Fourth coordinate (usually y2) |
| </p> |
| </td> |
| </tr> |
| </tbody> |
| </table></div> |
| <h6> |
| <a name="geometry.reference.algorithms.assign.assign_values_5_4_coordinate_values.h2"></a> |
| <span class="phrase"><a name="geometry.reference.algorithms.assign.assign_values_5_4_coordinate_values.header"></a></span><a class="link" href="assign_values_5_4_coordinate_values.html#geometry.reference.algorithms.assign.assign_values_5_4_coordinate_values.header">Header</a> |
| </h6> |
| <p> |
| Either |
| </p> |
| <p> |
| <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code> |
| </p> |
| <p> |
| Or |
| </p> |
| <p> |
| <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">/</span><span class="identifier">algorithms</span><span class="special">/</span><span class="identifier">assign</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code> |
| </p> |
| </div> |
| <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> |
| <td align="left"></td> |
| <td align="right"><div class="copyright-footer">Copyright © 2009-2015 Barend Gehrels, Bruno Lalande, |
| Mateusz Loskot, Adam Wulkiewicz, Oracle and/or its affiliates<p> |
| Distributed under the Boost Software License, Version 1.0. (See accompanying |
| file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) |
| </p> |
| </div></td> |
| </tr></table> |
| <hr> |
| <div class="spirit-nav"> |
| <a accesskey="p" href="assign_values_4_3_coordinate_values.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../assign.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="assign_zero.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> |
| </div> |
| </body> |
| </html> |