PilotGaea 2D O'view
    正在準備搜尋索引...

    類別 Geo3DPoint

    三維點幾何

    實作

    索引

    屬性

    x y z

    方法

    構造函數

    屬性

    x: number = 0

    x座標

    y: number = 0

    y座標

    z: number = 0

    z座標

    方法

    • Returns a string representation of an object.

      回傳 string

    構造函數

    • 幾何三維點

      回傳 Geo3DPoint

      let point = new Geo3DPoint(); // 預設建構子
      
    • 幾何三維點

      參數

      • x: number
      • y: number
      • z: number

      回傳 Geo3DPoint

      let point = new Geo3DPoint(0, 0, 0); // 指定x,y,z建立Geo3DPoint
      
    • 幾何三維點

      參數

      回傳 Geo3DPoint

      let point = new Geo3DPoint(); // 預設建構子
      let pointCopy = new Geo3DPoint(point); // 使用欲複製的Geo3DPoint建立Geo3DPoint
      let pointObj = new Geo3DPoint({x: 0, y: 0, z: 0}); // 使用帶有x, y, z的Object建立Geo3DPoint
    • 幾何三維點

      參數

      • array: [number, number, number]

      回傳 Geo3DPoint

      let point = new Geo3DPoint([0, 0, 0]); // 使用大小為3的數字陣列指定x, y, z建立Geo3DPoint