|
楼主 |
发表于 2022-6-23 10:01:00
|
显示全部楼层
本帖最后由 tzbm123456 于 2022-6-23 22:31 编辑
new Cesium.Plane(normal, distance)Core/Plane.js 34
A plane in Hessian Normal Form defined byax + by + cz + d = 0where (a, b, c) is the plane's normal, d is the signed distance to the plane, and (x, y, z) is any point on the plane.
[td]参数名称 | 类型 | 描述信息 | normal | | The plane's normal (normalized). | distance | Number | The shortest distance from the origin to the plane. The sign of distance determines which side of the plane the origin is on. If distance is positive, the origin is in the half-space in the direction of the normal; if negative, the origin is in the half-space opposite to the normal; if zero, the plane passes through the origin. | Throws:使用示例:// The plane x=0const plane = new Cesium.Plane(Cesium.Cartesian3.UNIT_X, 0.0);
成员(属性)[backcolor=rgb(119, 156, 52) !important]static [backcolor=rgb(119, 156, 52) !important]constant Cesium.Plane.ORIGIN_XY_PLANE : PlaneCore/Plane.js 295
A constant initialized to the XY plane passing through the origin, with normal in positive Z.
[backcolor=rgb(119, 156, 52) !important]static [backcolor=rgb(119, 156, 52) !important]constant Cesium.Plane.ORIGIN_YZ_PLANE : PlaneCore/Plane.js 303
A constant initialized to the YZ plane passing through the origin, with normal in positive X.
[backcolor=rgb(119, 156, 52) !important]static [backcolor=rgb(119, 156, 52) !important]constant Cesium.Plane.ORIGIN_ZX_PLANE : PlaneCore/Plane.js 311
A constant initialized to the ZX plane passing through the origin, with normal in positive Y.
distance : NumberCore/Plane.js 65
The shortest distance from the origin to the plane. The sign of distance determines which side of the plane the origin is on. If distance is positive, the origin is in the half-space in the direction of the normal; if negative, the origin is in the half-space opposite to the normal; if zero, the plane passes through the origin.
normal : Cartesian3Core/Plane.js 54
The plane's normal.
|
|