http://developer.vectorworks.net/index.php?title=VS:HAngle&feed=atom&action=history
VS:HAngle - Revision history
2024-03-29T11:50:15Z
Revision history for this page on the wiki
MediaWiki 1.41.0
http://developer.vectorworks.net/index.php?title=VS:HAngle&diff=26510&oldid=prev
Ptr at 10:04, 20 July 2023
2023-07-20T10:04:34Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:04, 20 July 2023</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l5">Line 5:</td>
<td colspan="2" class="diff-lineno">Line 5:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>-----------------------------------------------------------------------------------------------------------</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>-----------------------------------------------------------------------------------------------------------</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><desc></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><desc></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Function HAngle returns the angle of the referenced <del style="font-weight: bold; text-decoration: none;">line or arc </del>object.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Function HAngle returns the angle of the referenced object.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></desc></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></desc></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
</table>
Ptr
http://developer.vectorworks.net/index.php?title=VS:HAngle&diff=24317&oldid=prev
ALandsberger: corrected small typo
2020-05-25T09:47:54Z
<p>corrected small typo</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 09:47, 25 May 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l42">Line 42:</td>
<td colspan="2" class="diff-lineno">Line 42:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>On round walls the eventual reversion is NOT detected. Check if the wall is counterclockwise:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>On round walls the eventual reversion is NOT detected. Check if the wall is counterclockwise:</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><code lang="pas"></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><code lang="pas"></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>IF NOT <del style="font-weight: bold; text-decoration: none;">GetObjectVariableBoo</del>(wallH, 570) THEN</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>IF NOT <ins style="font-weight: bold; text-decoration: none;">GetObjectVariableBool</ins>(wallH, 570) THEN</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> wallRot := -wallrot;</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> wallRot := -wallrot;</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></code></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></code></div></td></tr>
</table>
ALandsberger
http://developer.vectorworks.net/index.php?title=VS:HAngle&diff=4210&oldid=prev
Root: 1 revision
2013-08-12T14:34:33Z
<p>1 revision</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 14:34, 12 August 2013</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Root
http://developer.vectorworks.net/index.php?title=VS:HAngle&diff=4209&oldid=prev
Root at 21:56, 23 July 2008
2008-07-23T21:56:13Z
<p></p>
<p><b>New page</b></p><div>{{LocationMain|category=LocationVS|specific=}}<br />
__TOC__<br />
<vwDoc><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<desc><br />
Function HAngle returns the angle of the referenced line or arc object.<br />
</desc><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<def><br />
<funcDef lang="vs"><br />
FUNCTION HAngle(h:HANDLE) : REAL;<br />
</funcDef><br />
<funcDef lang="py"><br />
def vs.HAngle(h):<br />
return REAL<br />
</funcDef><br />
</def><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<params><br />
<lineList ident=1><br />
<line><br />
h<br />
HANDLE<br />
Handle to object.<br />
</line><br />
</lineList><br />
</params><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<return><br />
Returns angle in degrees.<br />
</return><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<remark><br />
You can use this routines for getting the angle (slope) of a straight wall as well.<br />
It will also detect the eventual reversion of the wall, consistent with the OIP.<br />
<br />
On round walls the eventual reversion is NOT detected. Check if the wall is counterclockwise:<br />
<code lang="pas"><br />
IF NOT GetObjectVariableBoo(wallH, 570) THEN<br />
wallRot := -wallrot;<br />
</code><br />
<br />
For rotated rectangle and oval, the angle is in range [-180;180].<br />
</remark><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<sample><br />
==== VectorScript ====<br />
<code lang="pas"><br />
PROCEDURE Example;<br />
BEGIN<br />
CallTool(-202);<br />
Message(HAngle(FSActLayer));<br />
END;<br />
RUN(Example);<br />
</code><br />
==== Python ====<br />
<code lang="py"><br />
def Example():<br />
vs.CallTool(-202)<br />
vs.Message(vs.HAngle(vs.FSActLayer()))<br />
<br />
Example()<br />
</code><br />
</sample><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<version><br />
Availability: from All Versions<br />
<br />
</version><br />
<br />
</vwDoc><br />
<br />
[[Category:VS Function Reference|HAngle]]<br />
[[Category:VS Function Reference:Object Info|HAngle]]</div>
Root