【问题标题】:Liang-Barsky Line Clipping AlgorithmLiang-Barsky 线裁剪算法
【发布时间】:2016-03-10 12:05:10
【问题描述】:

是否可以将 Liang-Barsky Line Clipping Algorithm 推广到 n 维空间?

【问题讨论】:

    标签: algorithm clipping


    【解决方案1】:

    该算法思想中没有针对 2D 情况的特定内容,因此 Liang-Barsky Line Clipping Algorithm 可以推广到 3D 和 n 维空间。
    对于 3D,您必须找到与 6 个平面相交的参数,检查它们的范围。

    Citation:

    Liang-Barsky Algorithm
    The relative speed improvement over Sutherland-Cohen algorithm is as follows:
    
    36% for 2D lines
     40% for 3D lines
     70% for 4D lines
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-05-20
      • 1970-01-01
      • 2012-03-14
      • 2013-10-20
      • 1970-01-01
      • 1970-01-01
      • 2014-10-10
      • 2012-01-01
      相关资源
      最近更新 更多