classvtbuilding.html

来自「VC下实现图像处理。 VC下实现图像处理。 VC下实现图像处理。」· HTML 代码 · 共 609 行 · 第 1/3 页

HTML
609
字号
          <td class="md" nowrap valign="top">BldColor&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>which</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Get the color of the building. In the case of multi-colored buildings, note that this method returns only the first color encountered.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>which</em>&nbsp;</td><td>Can be either BLD_BASIC (color of the building) or BLD_ROOF (color of the roof). </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="14570eb7a61088c74e90cbd34f3590ec"></a><!-- doxytag: member="vtBuilding::GetDistanceToInterior" ref="14570eb7a61088c74e90cbd34f3590ec" args="(const DPoint2 &amp;point) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">double vtBuilding::GetDistanceToInterior           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classDPoint2.html">DPoint2</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>point</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Find the closest distance from a given point to the interior of a building's lowest footprint. If the point is inside the footprint, the value 0.0 is returned.     </td>  </tr></table><a class="anchor" name="b67da5b54ec637bd1852a8dcf5b8922b"></a><!-- doxytag: member="vtBuilding::GetStories" ref="b67da5b54ec637bd1852a8dcf5b8922b" args="() const " --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">int vtBuilding::GetStories           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Get the total number of stories of this building. The top level is assumed to be a roof and does not count toward the total.     </td>  </tr></table><a class="anchor" name="19014cda4962f07d06c41f33a4d550f9"></a><!-- doxytag: member="vtBuilding::operator=" ref="19014cda4962f07d06c41f33a4d550f9" args="(const vtBuilding &amp;v)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="classvtBuilding.html">vtBuilding</a> &amp; vtBuilding::operator=           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classvtBuilding.html">vtBuilding</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>v</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Asignment operator, which makes an explicit copy the entire building including each level.     </td>  </tr></table><a class="anchor" name="e54dc1d1e632787295009dc7f274d083"></a><!-- doxytag: member="vtBuilding::SetCircle" ref="e54dc1d1e632787295009dc7f274d083" args="(const DPoint2 &amp;center, float fRad)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void vtBuilding::SetCircle           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classDPoint2.html">DPoint2</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>center</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>float&nbsp;</td>          <td class="mdname" nowrap> <em>fRad</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the base footprint of the building to be a circle. A circle is represented by a 20-sided polygonal footprint.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>center</em>&nbsp;</td><td>The location of the building's center. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>fRad</em>&nbsp;</td><td>The radius of the building. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="793b557be488d90f83bbe003bbf486eb"></a><!-- doxytag: member="vtBuilding::SetColor" ref="793b557be488d90f83bbe003bbf486eb" args="(BldColor which, RGBi col)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void vtBuilding::SetColor           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">BldColor&nbsp;</td>          <td class="mdname" nowrap> <em>which</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="classRGBi.html">RGBi</a>&nbsp;</td>          <td class="mdname" nowrap> <em>col</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the colors of the building.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>which</em>&nbsp;</td><td>Can be either BLD_BASIC (the overall color of the building) or BLD_ROOF (the overall color of the roof). </td></tr>    <tr><td valign="top"></td><td valign="top"><em>col</em>&nbsp;</td><td>The color to set. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="407ee92b0a2e88884f68f31932414187"></a><!-- doxytag: member="vtBuilding::SetFootprint" ref="407ee92b0a2e88884f68f31932414187" args="(int i, const DPolygon2 &amp;poly)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?