<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=106.188.106.195</id>
	<title>formulasearchengine - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=106.188.106.195"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/wiki/Special:Contributions/106.188.106.195"/>
	<updated>2026-05-05T03:31:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0-wmf.28</generator>
	<entry>
		<id>https://en.formulasearchengine.com/index.php?title=Normalized_Google_distance&amp;diff=26128</id>
		<title>Normalized Google distance</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Normalized_Google_distance&amp;diff=26128"/>
		<updated>2014-01-23T17:44:19Z</updated>

		<summary type="html">&lt;p&gt;106.188.106.195: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;Cyrus–Beck algorithm&#039;&#039;&#039; is a generalized [[line clipping]] algorithm. It was designed to be more efficient than the [[Sutherland–Cohen algorithm]] which uses repetitive clipping.&amp;lt;ref&amp;gt;[http://www.slideshare.net/johanna20/clipping-presentation &amp;quot;Clipping&amp;quot; (presentation)]&amp;lt;/ref&amp;gt;  Cyrus–Beck is a general algorithm and can be used with a convex polygon clipping window unlike Sutherland-Cohen that can be used only on a rectangular clipping area.&lt;br /&gt;
&lt;br /&gt;
Here the parametric equation of a line in the view plane is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
p(t) &amp;amp;=&amp;amp; tp_1 + (1-t)p_0\\&lt;br /&gt;
     &amp;amp;=&amp;amp; p_0 + t(p_1-p_0) &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;0 \leq t \leq 1 &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now to find intersection point with the clipping window we calculate value of dot product. Let &#039;&#039;p&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;E&#039;&#039;&amp;lt;/sub&amp;gt; be a point on the clipping plane &#039;&#039;E&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Calculate &amp;lt;math&amp;gt;n\cdot (p(t)-p_E)&amp;lt;/math&amp;gt;.&lt;br /&gt;
:: if &amp;gt; 0 vector pointed towards interior&lt;br /&gt;
:: if = 0 vector pointed parallel to plane containing &#039;&#039;p&#039;&#039;&lt;br /&gt;
:: if &amp;lt; 0 vector pointed away from interior&lt;br /&gt;
&lt;br /&gt;
Here &#039;&#039;n&#039;&#039; stands for normal of the current clipping plane (pointed away from interior).&lt;br /&gt;
&lt;br /&gt;
By this we select the point of intersection of line and clipping window where (dot product&amp;amp;nbsp;=&amp;amp;nbsp;0 ) and hence clip the line.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
Algorithms used for the same purpose:&lt;br /&gt;
* [[Cohen-Sutherland]]&lt;br /&gt;
* [[Liang-Barsky]]&lt;br /&gt;
* [[Nicholl–Lee–Nicholl]]&lt;br /&gt;
* [[Fast-clipping]]&lt;br /&gt;
&lt;br /&gt;
References in other media:&lt;br /&gt;
* [[Tron: Uprising]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* Mike Cyrus, Jay Beck. &amp;quot;Generalized two- and three-dimensional clipping&amp;quot;. Computers &amp;amp; Graphics, 1978: 23-28.&lt;br /&gt;
* James D. Foley. &#039;&#039;[http://books.google.com/books/about/Computer_graphics.html?id=-4ngT05gmAQC Computer graphics: principles and practice]&#039;&#039;. Addison-Wesley Professional, 1996. p.&amp;amp;nbsp;117.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* http://cs1.bradley.edu/public/jcm/cs535CyrusBeck.html&lt;br /&gt;
* http://softsurfer.com/Archive/algorithm_0111/algorithm_0111.htm{{dead link|date=May 2013}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Cyrus-Beck algorithm}}&lt;br /&gt;
[[Category:Clipping (computer graphics)]]&lt;br /&gt;
[[Category:Articles created via the Article Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{compu-graphics-stub}}&lt;/div&gt;</summary>
		<author><name>106.188.106.195</name></author>
	</entry>
</feed>