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

BoxGeometry

描述以原點為中心的多維數據集。
new BoxGeometry(options)
Parameters:
options (Object)
Name Description
options.minimum
Cartesian3
框的最小X、Y和Z坐標。
options.maximum
Cartesian3
框的最大X、Y和Z坐標。
options.vertexFormat
VertexFormat
default VertexFormat.DEFAULT
要計算的頂點屬性。
Example
var box = new bmgl.BoxGeometry({
  vertexFormat : bmgl.VertexFormat.POSITION_ONLY,
  maximum : new bmgl.Cartesian3(250000.0, 250000.0, 250000.0),
  minimum : new bmgl.Cartesian3(-250000.0, -250000.0, -250000.0)
});
var geometry = bmgl.BoxGeometry.createGeometry(box);
See:

Members

(static) packedLength : Number

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

Methods

(static) createGeometry(boxGeometry) → {Geometry|undefined}
計算框的幾何表示,包括其頂點、索引和邊界球。
Parameters:
boxGeometry (BoxGeometry) 框的說明。
(static) fromAxisAlignedBoundingBox(boundingBox) → {BoxGeometry}
從axisalignedboundingbox的維度創建多維數據集。
Parameters:
boundingBox (AxisAlignedBoundingBox) 軸磁場接地盒的描述。
Example
var aabb = bmgl.AxisAlignedBoundingBox.fromPoints(bmgl.Cartesian3.fromDegreesArray([
     -72.0, 40.0,
     -70.0, 35.0,
     -75.0, 30.0,
     -70.0, 30.0,
     -68.0, 40.0
]));
var box = bmgl.BoxGeometry.fromAxisAlignedBoundingBox(aabb);
See:
(static) fromDimensions(options) → {BoxGeometry}
根據給定的尺寸,創建一個以原點為中心的多維數據集。
Parameters:
options (Object)
Name Description
options.dimensions
Cartesian3
分別存儲在Cartesian3的x、y和z坐標中的框的寬度、深度和高度。
options.vertexFormat
VertexFormat
default VertexFormat.DEFAULT
要計算的頂點屬性。
Example
var box = bmgl.BoxGeometry.fromDimensions({
  vertexFormat : bmgl.VertexFormat.POSITION_ONLY,
  dimensions : new bmgl.Cartesian3(500000.0, 500000.0, 500000.0)
});
var geometry = bmgl.BoxGeometry.createGeometry(box);
Throws
See:
(static) pack(value, array, startingIndex) → {Array.<Number>}
將提供的實例存儲到提供的數組中。
Parameters:
value (BoxGeometry) 要打包的值。
array (Array.<Number>) 要打包的數組。
startingIndex (Number) (default 0) 數組中開始打包元素的索引。
(static) unpack(array, startingIndex, result) → {BoxGeometry}
從壓縮數組中檢索實例。
Parameters:
array (Array.<Number>) 壓縮數組。
startingIndex (Number) (default 0) 要解包的元素的起始索引。
result (BoxGeometry) 存儲結果的對象。
主站蜘蛛池模板: 英雄卡片简单又漂亮| 阎良之窗| www.douyin.com| 家庭琐事电影| 陈宝华| 富二代| 女脱衣| www.douyin.com官网| 电影在线观看高清完整版免费| ★爱色★直播| 经济合同法| 啪啪电影网| 薄冰电视剧| 爱你电视剧演员表| 本田飞度1.5自动挡多少钱| 哥谭小丑杰罗姆电影| 电视剧零下三十八度手机免费观看| 拔萝卜歌谱| 美国电影《贵夫人》| 知否知否应是绿肥红瘦观看| 雪天使演员表介绍| china中国农村妇女aⅴ| 阴阳界 电影| 完美的邻居| 老板娘2无间潜行| 读书笔记经典常谈| 我的世界 电影| 做生活的高手| 电影《七天》| 安吉拉·莫雷纳| 定型枕什么时候能给宝宝用| 齐士龙| 02j331| 红灯区| 巴黎宝贝| 安全员c证考试免费题库| 周琳皓| 口舌 — 视频 | vk| 世界上最有杀气的国歌| 杜丽莎| 张振铎|