classdynamicobject.html
来自「仿真人工智能是指用人工的方法和技术」· HTML 代码 · 共 686 行 · 第 1/3 页
HTML
686 行
<tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classTime.html">Time</a> DynamicObject::getTimeChangeInformation </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This method returns the server time that belongs to the relative distance and relative angle change of this object. <dl compact><dt><b>Returns: </b><dd>time of the change information of this DynamicObject </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00420">420</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l01254">WorldModel::calculateStateBall</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l01947">WorldModel::calculateStateBall2</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l01558">WorldModel::calculateStatePlayer</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l01386">WorldModel::checkParticlesBall</a>(), and <a class="el" href="WorldModelUpdate_8C-source.html#l01319">WorldModel::initParticlesBall</a>(). </td> </tr></table><a name="a11" doxytag="DynamicObject::getTimeGlobalVelocity"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classTime.html">Time</a> DynamicObject::getTimeGlobalVelocity </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This method returns the time that belongs to the global velocity of this object. <dl compact><dt><b>Returns: </b><dd>time of the global velocity of this object </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00359">359</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="Objects_8h-source.html#l00145">timeGlobalVelocity</a>.<p>Referenced by <a class="el" href="WorldModel_8C-source.html#l00675">WorldModel::getTimeGlobalVelocity</a>(). </td> </tr></table><a name="a7" doxytag="DynamicObject::setGlobalVelocity"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool DynamicObject::setGlobalVelocity </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classVecPosition.html">VecPosition</a> </td> <td class="mdname" nowrap> <em>v</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classTime.html">Time</a> </td> <td class="mdname" nowrap> <em>time</em></td> </tr> <tr> <td></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>This method sets the global velocity of this object and the time of this information <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>v</em> </td><td>new global velocity </td></tr><tr><td valign=top><em>time</em> </td><td>time global velocity was received </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether the values were set </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00320">320</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="Geometry_8h-source.html#l00054">EPSILON</a>, <a class="el" href="Geometry_8C-source.html#l00614">VecPosition::getMagnitude</a>(), <a class="el" href="Objects_8C-source.html#l00350">setTimeGlobalVelocity</a>(), <a class="el" href="Geometry_8C-source.html#l00572">VecPosition::setVecPosition</a>(), and <a class="el" href="Objects_8h-source.html#l00144">vecGlobalVelocity</a>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00369">WorldModel::processCatchedBall</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l00232">WorldModel::processPerfectHearInfo</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l00207">WorldModel::processPerfectHearInfoBall</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l00063">WorldModel::processSeeGlobalInfo</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l00659">WorldModel::updateAgentAndBallAfterSense</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l00552">WorldModel::updateAgentObjectAfterSee</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l00781">WorldModel::updateBallAfterKick</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l00839">WorldModel::updateBallForCollision</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l00579">WorldModel::updateDynamicObjectAfterSee</a>(), and <a class="el" href="WorldModelUpdate_8C-source.html#l00813">WorldModel::updateDynamicObjectForNextCycle</a>(). </td> </tr></table><a name="a3" doxytag="DynamicObject::setRelativeAngleChange"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool DynamicObject::setRelativeAngleChange </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname" nowrap> <em>d</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classTime.html">Time</a> </td> <td class="mdname" nowrap> <em>time</em></td> </tr> <tr> <td></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>This method sets the relative angle change and the server time this information belongs to. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>d</em> </td><td>new relative angle change </td></tr><tr><td valign=top><em>time</em> </td><td>time relative angle change was received </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether the values were set </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00392">392</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="Objects_8h-source.html#l00149">dRelativeAngleChange</a>, and <a class="el" href="Objects_8C-source.html#l00411">setTimeChangeInformation</a>().<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00138">WorldModel::processNewObjectInfo</a>(). </td> </tr></table><a name="a1" doxytag="DynamicObject::setRelativeDistanceChange"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool DynamicObject::setRelativeDistanceChange </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname" nowrap> <em>d</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classTime.html">Time</a> </td> <td class="mdname" nowrap> <em>time</em></td> </tr> <tr> <td></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>This method sets the relative distance change and the time this information was calculated. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>d</em> </td><td>new relative distance change </td></tr><tr><td valign=top><em>time</em> </td><td>time relative distance change was calculated </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether the values were set </dl><p>Definition at line <a class="el" href="Objects_8C-source.html#l00369">369</a> of file <a class="el" href="Objects_8C-source.html">Objects.C</a>.<p>References <a class="el" href="Objects_8h-source.html#l00148">dRelativeDistanceChange</a>, and <a class="el" href="Objects_8C-source.html#l00411">setTimeChangeInformation</a>().<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00138">WorldModel::processNewObjectInfo</a>(). </td> </tr>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?