Jump to content

Cyrus–Beck algorithm

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mmmzzzqqqppp (talk | contribs) at 23:04, 23 November 2010 (Created page with '{{New unreviewed article|source=ArticleWizard|date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}} '''CYRUS BECK ALGORITHM''' is It is a line clipping algorith...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Template:New unreviewed article

CYRUS BECK ALGORITHM is It is a line clipping algorithm .It was designed to be more efficient than Sutherland-Cohen algorithm which uses repetitive clipping [1] on a rectangular clipping area while cyrus beck is a general algorithm and can be used even with convex polygon clipping window

Here the parametric equation of a line in the view plane is: P(t)=P(0)+t(P1-P0) where t=0 at P1 t=o at t0 Now to find intersection point with the c;ipping window we calculate value of dot product n(Pt-f) {if >0 vector pointed toward interior

           if =0 vector pointed parallel to plane containing f
          if <0 vector pointed away from interior

By this we select the point of intersection of line and clipping window where ( =0 ) and hence clip the line


References

http://cs1.bradley.edu/public/jcm/cs535CyrusBeck.html