Class TwoDProjector

  • All Implemented Interfaces:

    
    public final class TwoDProjector
    
                        

    表示一个二维至三维投影器

    算法由 @Bryan33 提供

    Since:

    2020/9/19

    Author:

    Zoyn

    • Constructor Summary

      Constructors 
      Constructor Description
      TwoDProjector(Location origin, Vector n)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Location apply(Double x, Double y)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TwoDProjector

        TwoDProjector(Location origin, Vector n)
        Parameters:
        origin - 投影的原点
        n - 投影屏幕的法向量