婷婷久久网-婷婷久久久久-婷婷久久久-婷婷久-国产微拍精品一区-国产网址在线观看

CoplanarPolygonGeometry

由任意共面位置組成的多邊形的描述。
new CoplanarPolygonGeometry(options)
Parameters:
options (Object)
Name Description
options.polygonHierarchy
PolygonHierarchy
包含孔的多邊形層次結構。
options.stRotation
Number
default 0.0
紋理坐標的旋轉,以弧度表示。正旋轉是逆時針的。
options.vertexFormat
VertexFormat
default VertexFormat.DEFAULT
要計算的頂點屬性。
options.ellipsoid
Ellipsoid
default Ellipsoid.WGS84
用作參考的橢球體。
Example
var polygon = new bmgl.CoplanarPolygonGeometry({
  positions : bmgl.Cartesian3.fromDegreesArrayHeights([
     -90.0, 30.0, 0.0,
     -90.0, 30.0, 1000.0,
     -80.0, 30.0, 1000.0,
     -80.0, 30.0, 0.0
  ])
});
var geometry = bmgl.CoplanarPolygonGeometry.createGeometry(polygon);
See:

Members

packedLength : Number

用于將對象打包到數組中的元素數。

Methods

(static) createGeometry(polygonGeometry) → {Geometry|undefined}
計算任意共面多邊形的幾何表示,包括其頂點、索引和邊界球。
Parameters:
polygonGeometry (CoplanarPolygonGeometry) 多邊形的描述。
(static) fromPositions(options) → {CoplanarPolygonGeometry}
從位置數組中對共面多邊形的描述。
Parameters:
options (Object)
Name Description
options.positions
Array.<Cartesian3>
定義多邊形角點的位置數組。
options.vertexFormat
VertexFormat
default VertexFormat.DEFAULT
要計算的頂點屬性。
options.stRotation
Number
default 0.0
紋理坐標的旋轉,以弧度表示。正旋轉是逆時針的。
options.ellipsoid
Ellipsoid
default Ellipsoid.WGS84
用作參考的橢球體。
Example
// create a polygon from points
var polygon = bmgl.CoplanarPolygonGeometry.fromPositions({
  positions : bmgl.Cartesian3.fromDegreesArray([
    -72.0, 40.0,
    -70.0, 35.0,
    -75.0, 30.0,
    -70.0, 30.0,
    -68.0, 40.0
  ])
});
var geometry = bmgl.PolygonGeometry.createGeometry(polygon);
See:
  • PolygonGeometry#createGeometry
(static) pack(value, array, startingIndex) → {Array.<Number>}
將提供的實例存儲到提供的數組中。
Parameters:
value (CoplanarPolygonGeometry) 要打包的值。
array (Array.<Number>) 要打包的數組。
startingIndex (Number) (default 0) 數組中開始打包元素的索引。
(static) unpack(array, startingIndex, result) → {CoplanarPolygonGeometry}
從壓縮數組中檢索實例。
Parameters:
array (Array.<Number>) 壓縮數組。
startingIndex (Number) (default 0) 要解包的元素的起始索引。
result (CoplanarPolygonGeometry) 存儲結果的對象。
主站蜘蛛池模板: 张柏芝演的电视剧| 欧美一级毛片免费看| 白鲸 电影| 山东教育电视台直播在线观看| 三年电影免费高清完整版| 舞法天女绚彩归来| 滨美枝| 周超个人资料简介| 音乐会电视剧免费观看完整版 | 六一儿童节对联七字| 守株待兔的故事讲解视频完整版| 奥真奈美| 女人香韩国电影| 接吻教学视频| 少年派1主演名单| 青岛啤酒价格| call me by your name电影| 神迹电影| 韩世雅电影在线观看国语版| 孽子 电影| 西安地铁2号线运营时间表| 鸣鸟不飞oad| 建设工程档案归档整理规范| 大乔未久电影| 肥猫正传| 好男儿之情感护理| 网络谜踪 电影| 180复古星王合击| 金时厚| 男国少年梦 电影| 希崎| 好男儿之情感护理| 同性gay| 生活片爱情电影大全| 太子传说| 电影红旗谱| 爱情邂逅完整版在线观看| 魔影| 楼下的女邻居| 南果步| 泰迪熊 美剧|