国产久_亚欧精品一区_久久亚洲美女_99精品在线观看_日韩成人三级_久久精品久久久久

BoundingSphere

具有中心和半徑的邊界球體。
new BoundingSphere(center, radius)
Parameters:
center (Cartesian3) (default Cartesian3.ZERO) 邊界球的中心。
radius (Number) (default 0.0) 邊界球的半徑。
See:

Members

(static) packedLength : Number

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

center : Cartesian3

球體的中心點。
Default Value: Cartesian3.ZERO

radius : Number

球體的半徑。
Default Value: 0.0

Methods

(static) clone(sphere, result) → {BoundingSphere}
復制邊界球體實例。
Parameters:
sphere (BoundingSphere) 要復制的邊界球體。
result (BoundingSphere) 存儲結果的對象。
(static) computePlaneDistances(sphere, position, direction, result) → {Interval}
由矢量從邊界球的中心到投射到方向上的位置的距離加/減邊界球的半徑。
如果您設想具有法向的無限多個平面,這將從與邊界球體相交的位置計算到最近和最遠平面的最小距離。
Parameters:
sphere (BoundingSphere) 要計算距離的邊界球體。
position (Cartesian3) 計算距離的位置。
direction (Cartesian3) 從位置開始的方向。
result (Interval) 存儲最近和最遠距離的間隔。
(static) distanceSquaredTo(sphere, cartesian) → {Number}
計算從邊界球上最近點到點的估計距離平方。
Parameters:
sphere (BoundingSphere) 球體。
cartesian (Cartesian3) 重點
Example
// Sort bounding spheres from back to front
spheres.sort(function(a, b) {
    return bmgl.BoundingSphere.distanceSquaredTo(b, camera.positionWC) - bmgl.BoundingSphere.distanceSquaredTo(a, camera.positionWC);
});
(static) equals(left, right) → {Boolean}
比較提供的boundingsphere組件,如果它們相等,則返回true,否則返回false
Parameters:
left (BoundingSphere) 第一個邊界球。
right (BoundingSphere) 第二個邊界球。
(static) expand(sphere, point, result) → {BoundingSphere}
通過擴大提供的球體以包含提供的點來計算邊界球體。
Parameters:
sphere (BoundingSphere) 要展開的球體。
point (Cartesian3) 包圍在邊界球內的點。
result (BoundingSphere) 存儲結果的對象。
(static) fromBoundingSpheres(boundingSpheres, result) → {BoundingSphere}
計算包圍提供的邊界球數組的緊配合邊界球。
Parameters:
boundingSpheres (Array.<BoundingSphere>) 邊界球的數組。
result (BoundingSphere) 存儲結果的對象。
(static) fromCornerPoints(corner, oppositeCorner, result) → {BoundingSphere}
從軸對齊邊界框的角點計算邊界球。球體猛然完全地與盒子相碰撞。
Parameters:
corner (Cartesian3) 矩形上方的最小高度。
oppositeCorner (Cartesian3) 矩形上的最大高度。
result (BoundingSphere) 存儲結果的對象。
Example
// Create a bounding sphere around the unit cube
var sphere = bmgl.BoundingSphere.fromCornerPoints(new bmgl.Cartesian3(-0.5, -0.5, -0.5), new bmgl.Cartesian3(0.5, 0.5, 0.5));
(static) fromEllipsoid(ellipsoid, result) → {BoundingSphere}
創建包含橢圓體的邊界球體。
Parameters:
ellipsoid (Ellipsoid) 在其周圍創建邊界球的橢球體。
result (BoundingSphere) 存儲結果的對象。
Example
var boundingSphere = bmgl.BoundingSphere.fromEllipsoid(ellipsoid);
(static) fromEncodedCartesianVertices(positionsHigh, positionsLow, result) → {BoundingSphere}
計算一個緊配合的邊界球,包含一個編碼部件3列表,其中點按X、Y、Z順序存儲在平行平面陣列中。邊界球是通過運行兩種算法來計算的,一種是簡單算法,另一種是Ritter算法。兩個球體中較小的一個用于確保緊密配合。
Parameters:
positionsHigh (Array.<Number>) 包圍球將包圍的編碼笛卡爾體的高位數組。每個點由數組中的三個元素按x、y、z的順序組成。
positionsLow (Array.<Number>) 包圍球將包圍的編碼笛卡爾的低位數組。每個點由數組中的三個元素按x、y、z的順序組成。
result (BoundingSphere) 存儲結果的對象。
See:
(static) fromOrientedBoundingBox(orientedBoundingBox, result) → {BoundingSphere}
計算包圍提供的定向邊界框的緊配合邊界球。
Parameters:
orientedBoundingBox (OrientedBoundingBox) 定向邊界框。
result (BoundingSphere) 存儲結果的對象。
(static) fromPoints(positions, result) → {BoundingSphere}
計算包含三維笛卡爾點列表的緊配合邊界球。邊界球是通過運行兩種算法來計算的,一種是簡單算法,另一種是Ritter算法。兩個球體中較小的一個用于確保緊密配合。
Parameters:
positions (Array.<Cartesian3>) 邊界球將包圍的點數組。每個點必須具有xyz屬性。
result (BoundingSphere) 存儲結果的對象。
See:
(static) fromRectangle2D(rectangle, projection, result) → {BoundingSphere}
從二維投影的矩形計算邊界球體。
Parameters:
rectangle (Rectangle) 要圍繞其創建邊界球體的矩形。
projection (Object) (default GeographicProjection) 用于將矩形投影到二維的投影。
result (BoundingSphere) 存儲結果的對象。
(static) fromRectangle3D(rectangle, ellipsoid, surfaceHeight, result) → {BoundingSphere}
從三維矩形中計算邊界球。邊界球是使用橢圓體上點的子樣本創建的,并包含在矩形中。對于所有類型的橢球體上的所有矩形,它可能不準確。
Parameters:
rectangle (Rectangle) 用于創建邊界球體的有效矩形。
ellipsoid (Ellipsoid) (default Ellipsoid.WGS84) 用于確定矩形位置的橢圓體。
surfaceHeight (Number) (default 0.0) 橢圓體表面以上的高度。
result (BoundingSphere) 存儲結果的對象。
(static) fromRectangleWithHeights2D(rectangle, projection, minimumHeight, maximumHeight, result) → {BoundingSphere}
從二維投影的矩形計算邊界球體。邊界球體占對象在矩形上的最小和最大高度。
Parameters:
rectangle (Rectangle) 要圍繞其創建邊界球體的矩形。
projection (Object) (default GeographicProjection) 用于將矩形投影到二維的投影。
minimumHeight (Number) (default 0.0) 矩形上方的最小高度。
maximumHeight (Number) (default 0.0) 矩形上的最大高度。
result (BoundingSphere) 存儲結果的對象。
(static) fromVertices(positions, center, stride, result) → {BoundingSphere}
計算包含三維點列表的緊配合邊界球體,其中點按X、Y、Z順序存儲在平面陣列中。邊界球是通過運行兩種算法來計算的,一種是簡單算法,另一種是Ritter算法。兩個球體中較小的一個用于確保緊密配合。
Parameters:
positions (Array.<Number>) 邊界球將包圍的點數組。每個點由數組中的三個元素按x、y、z的順序組成。
center (Cartesian3) (default Cartesian3.ZERO) 位置相對的位置,不必是坐標系的原點。當位置將用于相對于中心(rtc)渲染時,此功能非常有用。
stride (Number) (default 3) 每個頂點的數組元素數。它必須至少是3,但可能更高。不管這個參數的值是多少,第一個位置的x坐標是在數組索引0處,y坐標是在數組索引1處,z坐標是在數組索引2處。當跨距為3時,下一個位置的X坐標從數組索引3開始。但是,如果步幅為5,則跳過兩個數組元素,下一個位置從數組索引5開始。
result (BoundingSphere) 存儲結果的對象。
Example
// Compute the bounding sphere from 3 positions, each specified relative to a center.
// In addition to the X, Y, and Z coordinates, the points array contains two additional
// elements per point which are ignored for the purpose of computing the bounding sphere.
var center = new bmgl.Cartesian3(1.0, 2.0, 3.0);
var points = [1.0, 2.0, 3.0, 0.1, 0.2,
              4.0, 5.0, 6.0, 0.1, 0.2,
              7.0, 8.0, 9.0, 0.1, 0.2];
var sphere = bmgl.BoundingSphere.fromVertices(points, center, 5);
See:
(static) intersectPlane(sphere, plane) → {Intersect}
確定球體位于平面的哪一側。
Parameters:
sphere (BoundingSphere) 要測試的邊界球。
plane (Plane) 試飛的飛機。
(static) isOccluded(sphere, occluder) → {Boolean}
確定遮擋器是否將球體隱藏在視圖中。
Parameters:
sphere (BoundingSphere) 圍繞被遮擋對象的邊界球體。
occluder (Occluder) 封堵器。
(static) pack(value, array, startingIndex) → {Array.<Number>}
將提供的實例存儲到提供的數組中。
Parameters:
value (BoundingSphere) 要打包的值。
array (Array.<Number>) 要打包的數組。
startingIndex (Number) (default 0) 數組中開始打包元素的索引。
(static) projectTo2D(sphere, projection, result) → {BoundingSphere}
從三維世界坐標中的邊界球創建二維邊界球。
Parameters:
sphere (BoundingSphere) 要轉換為二維的邊界球體。
projection (Object) (default GeographicProjection) 投影到二維。
result (BoundingSphere) 存儲結果的對象。
(static) transform(sphere, transform, result) → {BoundingSphere}
將4x4仿射變換矩陣應用于邊界球。
Parameters:
sphere (BoundingSphere) 要應用轉換的邊界球。
transform (Matrix4) 要應用于邊界球的變換矩陣。
result (BoundingSphere) 存儲結果的對象。
(static) transformWithoutScale(sphere, transform, result) → {BoundingSphere}
將4x4仿射變換矩陣應用于沒有比例的邊界球。未驗證變換矩陣是否具有1的均勻比例。此方法比使用BoundingSphere.transform計算一般邊界球變換更快。
Parameters:
sphere (BoundingSphere) 要應用轉換的邊界球。
transform (Matrix4) 要應用于邊界球的變換矩陣。
result (BoundingSphere) 存儲結果的對象。
Example
var modelMatrix = bmgl.Transforms.eastNorthUpToFixedFrame(positionOnEllipsoid);
var boundingSphere = new bmgl.BoundingSphere();
var newBoundingSphere = bmgl.BoundingSphere.transformWithoutScale(boundingSphere, modelMatrix);
(static) union(left, right, result) → {BoundingSphere}
計算包含左右邊界球的邊界球。
Parameters:
left (BoundingSphere) 包圍在邊界球內的球。
right (BoundingSphere) 包圍在邊界球內的球。
result (BoundingSphere) 存儲結果的對象。
(static) unpack(array, startingIndex, result) → {BoundingSphere}
從壓縮數組中檢索實例。
Parameters:
array (Array.<Number>) 壓縮數組。
startingIndex (Number) (default 0) 要解包的元素的起始索引。
result (BoundingSphere) 存儲結果的對象。
clone(result) → {BoundingSphere}
復制此邊界球體實例。
Parameters:
result (BoundingSphere) 存儲結果的對象。
computePlaneDistances(position, direction, result) → {Interval}
由矢量從邊界球的中心到投射到方向上的位置的距離加/減邊界球的半徑。
如果您設想具有法向的無限多個平面,這將從與邊界球體相交的位置計算到最近和最遠平面的最小距離。
Parameters:
position (Cartesian3) 計算距離的位置。
direction (Cartesian3) 從位置開始的方向。
result (Interval) 存儲最近和最遠距離的間隔。
distanceSquaredTo(cartesian) → {Number}
計算從邊界球上最近點到點的估計距離平方。
Parameters:
cartesian (Cartesian3) 重點
Example
// Sort bounding spheres from back to front
spheres.sort(function(a, b) {
    return b.distanceSquaredTo(camera.positionWC) - a.distanceSquaredTo(camera.positionWC);
});
equals(right) → {Boolean}
將此boundingsphere與提供的boundingsphere組件進行比較,如果相等,則返回true,否則返回false
Parameters:
right (BoundingSphere) 右側邊界球。
intersectPlane(plane) → {Intersect}
確定球體位于平面的哪一側。
Parameters:
plane (Plane) 試飛的飛機。
isOccluded(occluder) → {Boolean}
確定遮擋器是否將球體隱藏在視圖中。
Parameters:
occluder (Occluder) 封堵器。
volume() → {Number}
計算邊界球的半徑。
国产久_亚欧精品一区_久久亚洲美女_99精品在线观看_日韩成人三级_久久精品久久久久
<code id="kseui"><acronym id="kseui"></acronym></code>
  • <abbr id="kseui"><tbody id="kseui"></tbody></abbr>
  • <button id="kseui"></button>
  • 香蕉成人久久| 一区二区三区国产盗摄| 日韩午夜黄色| 三区精品视频| 精品亚洲一区二区三区四区五区高| 亚洲成色精品| 欧美在线3区| 色噜噜色狠狠狠狠狠综合色一| www.成人av.com| 亚洲一区二区三区四区五区午夜 | 免费av在线一区二区| 51国偷自产一区二区三区的来源| 在线观看日韩av电影| 午夜国产欧美理论在线播放| 日韩精品欧美一区二区三区| 日本精品国语自产拍在线观看| 欧美日本韩国国产| 欧美日韩三区四区| 九色91国产| 国产综合动作在线观看| 国产精品日韩一区二区 | 亚洲图片欧洲图片日韩av| 免费在线成人av电影| 亚洲精品永久www嫩草| 在线视频精品| 国产一区二区免费在线观看| 久久综合久久久| 新67194成人永久网站| 国产欧美一区二区色老头| 亚洲激情网址| 国产精品入口66mio| 国产美女一区| 1区1区3区4区产品乱码芒果精品| 久久久久久久久一区二区| 久久综合中文色婷婷| 国产精品久久久久久久小唯西川 | 欧美日韩一区二区视频在线 | 日韩和欧美的一区二区| 日本一区二区高清视频| 日本精品一区二区| 亚洲乱码一区二区三区| 国产精品啊啊啊| 国产日韩精品一区观看| 久久久久网站| 精品一区二区三区日本| 亚洲欧美成人一区| 一区在线免费| 99视频日韩| 污视频在线免费观看一区二区三区| 女人香蕉久久**毛片精品| 亚洲欧洲一二三| 99在线视频播放| 亚洲精品一区二区三区蜜桃久| 国内精品美女在线观看 | 午夜在线一区二区| 国产欧美日韩亚洲| 日本一区高清在线视频| 在线精品观看| 国产在线一区二| 欧美日韩精品免费观看视一区二区 | 欧美色图亚洲自拍| 国产主播一区| 高清视频在线观看一区| 亚洲va久久久噜噜噜久久狠狠| 在线日韩中文| 久久久久成人精品免费播放动漫| 一区二区三区四区欧美日韩| 国产精品一级| 欧美日韩亚洲综合一区二区三区激情在线| 欧美日韩日本网| 风间由美久久久| 激情久久久久久久| 久久综合福利| 国产精品夜夜夜一区二区三区尤| 欧美美乳视频网站在线观看| 一本久久综合| 日韩影视精品| 91情侣在线视频| 国产综合网站| 蜜桃麻豆www久久国产精品| 伊人久久成人| 欧美日韩一区在线播放| 亚洲一区三区视频在线观看| 亚洲一区二区精品在线观看| 久久在线精品| 国产精品xvideos88| 久久青青草原一区二区| 亚洲欧美日韩一区在线观看| 亚洲v欧美v另类v综合v日韩v| 久久狠狠婷婷| 国产一区二区中文字幕免费看| 久久青青草原| 99re6在线| 中文精品视频| 欧美一区1区三区3区公司| 国产欧美日韩一区二区三区| 国产欧美日韩在线播放| 最新精品视频| 日本一区二区三区视频在线观看 | 欧美精品123| 3d蒂法精品啪啪一区二区免费| 欧美视频久久| 午夜欧美性电影| 狠狠干一区二区| 99在线看视频| 久热这里只精品99re8久| 亚洲精品日韩久久| 午夜久久资源| 亚洲欧洲精品一区二区| 美女黄毛**国产精品啪啪| 成人性色av| 久久久噜噜噜久久狠狠50岁| 亚洲一二三区精品| 欧美午夜视频| 欧美1区3d| 亚洲视频小说| 亚洲欧美久久234| 亚洲欧美国产精品桃花| 亚洲国产精品久久久久婷婷老年| 国产一区免费视频| 国产尤物99| 久久久久无码国产精品一区| 精品在线观看一区二区| 国产专区一区二区| 精品一区二区久久久久久久网站| 国产高清精品一区二区三区| 91精品黄色| 国产伦精品一区| 国产 高清 精品 在线 a| 久久影院亚洲| 精品国产91亚洲一区二区三区www 精品国产_亚洲人成在线 | 狠狠色综合网站久久久久久久| 国产精品二区在线观看| 成人看片在线| 国产精品手机在线| 麻豆av一区二区三区| 日本不卡一区二区三区视频| 欧美精品一区二区三区久久| 日本不卡免费新一二三区| 色女人综合av| 欧美日韩免费高清| 亚洲经典自拍| 麻豆av一区二区三区| 97se视频在线观看| 精品国产aⅴ麻豆| 日韩理论片在线观看| 欧美成人综合一区| 亚洲黄色三级| 2022国产精品| 日产精品久久久一区二区| 欧美高清视频一区| av成人国产| 国产高清在线一区二区| 日韩中文不卡| 亚洲国产精品一区二区第一页| 一区二区福利| 国产精品污www一区二区三区| 日韩成人av网站| 亚洲午夜久久久久久尤物| 亚洲一区二区三区免费在线观看 | 精品中文字幕人| 欧美精品自拍| 每日更新成人在线视频| 你懂的网址一区二区三区| 欧美体内she精视频在线观看| 亚洲日本国产| 国产精品一区视频网站| 亚洲视频精品一区| 国产精品毛片一区二区三区| 精品国产一区二区三区四区精华| 亚洲砖区区免费| 中文日韩欧美| 日韩资源av在线| 国产麻豆日韩| 少妇免费毛片久久久久久久久| 激情综合自拍| 黄色99视频| 亚洲美女色禁图| 欧美日韩大片一区二区三区| 亚洲三级影院| 日韩av影视| 久久www成人_看片免费不卡| 亚洲草草视频| av资源站久久亚洲| 国模精品一区二区三区| 国内视频一区| 国产精品综合| 在线视频不卡一区二区三区| 99re在线观看| 亚洲午夜视频| 水蜜桃亚洲一二三四在线| 久久国产精品免费一区| 婷婷四月色综合| 国产精品嫩草在线观看| 99精品欧美一区二区三区| 日本一区二区三区视频免费看| 美女亚洲精品| 亚洲二区精品| 欧美一区综合| 欧美一区国产一区|