classvtbuilding.html
来自「VC下实现图像处理。 VC下实现图像处理。 VC下实现图像处理。」· HTML 代码 · 共 609 行 · 第 1/3 页
HTML
609 行
<td class="md" nowrap valign="top">void vtBuilding::SetFootprint </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>lev</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const <a class="el" href="classDPolygon2.html">DPolygon2</a> & </td> <td class="mdname" nowrap> <em>poly</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set the footprintf of the given level 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>lev</em> </td><td>The level, from 0 for the base level and up. </td></tr> <tr><td valign="top"></td><td valign="top"><em>poly</em> </td><td>The footprint. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="2ae60d81179925ca9a4a607a57e5de22"></a><!-- doxytag: member="vtBuilding::SetFootprint" ref="2ae60d81179925ca9a4a607a57e5de22" args="(int i, const DLine2 &dl)" --><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::SetFootprint </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>lev</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const <a class="el" href="classDLine2.html">DLine2</a> & </td> <td class="mdname" nowrap> <em>foot</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set the footprint of the given level 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>lev</em> </td><td>The level, from 0 for the base level and up. </td></tr> <tr><td valign="top"></td><td valign="top"><em>foot</em> </td><td>The footprint. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="87a8cadff2510f722f87f9e0a9729cd6"></a><!-- doxytag: member="vtBuilding::SetRoofType" ref="87a8cadff2510f722f87f9e0a9729cd6" args="(RoofType rt, int iSlope=-1, int iLev=-1)" --><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::SetRoofType </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">RoofType </td> <td class="mdname" nowrap> <em>rt</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>iSlope</em> = <code>-1</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>iLev</em> = <code>-1</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set the type of roof for this building. In cases of ambiguity, such as setting a gable roof, the method will try to make intelligent guesses about where to put the roof angles based the length of the roof edges.<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>rt</em> </td><td>Roof type, one of:<ul><li>ROOF_FLAT</li><li>ROOF_SHED</li><li>ROOF_GABLE</li><li>ROOF_HIP </li></ul></td></tr> <tr><td valign="top"></td><td valign="top"><em>iSlope</em> </td><td>For a non-flat roof, this is the slope in degrees of the sloped edges. This varies from 0 (horizontal) to 90 (vertical). </td></tr> <tr><td valign="top"></td><td valign="top"><em>iLev</em> </td><td>(optional) The number of the level to assume is the roof. If omitted, the top level is assumed to be the roof. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="97a68df2229f231edcb68657acbdee0f"></a><!-- doxytag: member="vtBuilding::SetStories" ref="97a68df2229f231edcb68657acbdee0f" args="(int i)" --><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::SetStories </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>iStories</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set the height of the building in stories. If the building has no levels, two will be created: for the walls and the roof. If the number of stories is greater than before, the additional stories are added to the top-most non-roof level. If lesser, stories and levels are removed from the top down until the desired number is met.<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>iStories</em> </td><td>Number of stories to set. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="56ba87a64bca38aea0fe782fc53e85aa"></a><!-- doxytag: member="vtBuilding::TransformCoords" ref="56ba87a64bca38aea0fe782fc53e85aa" args="(OCT *trans)" --><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::TransformCoords </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">OCT * </td> <td class="mdname1" valign="top" nowrap> <em>trans</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Transform the coodinates of this building (the footprints of each level) by the given coordinate transformation. </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Jan 14 14:40:55 2008 for vtdata library by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.5 </small></address></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?