English中文

ClippingPlane

new Cesium.ClippingPlane(normal, distance)

与使用的 Hessian 范式形式的平面 A Plane in Hessian Normal form to be used with ClippingPlaneCollection。 Compatible with mathematics functions in . Compatible with mathematics functions in Plane
名称 Name 类型 Type 说明 Description
normal Cartesian3 飞机处于正常状态(标准化)。 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.

成员 Members

从原点到平面的最短距离。的标志 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.
飞机很正常。 The plane's normal.

方法 Methods

static Cesium.ClippingPlane.clone(clippingPlane, result)ClippingPlane

克隆 ClippingPlane 而不设置其所有权。 Clones the ClippingPlane without setting its ownership.
名称 Name 类型 Type 说明 Description
clippingPlane ClippingPlane 要克隆的 ClippingPlane The ClippingPlane to be cloned
result ClippingPlane 可选 optional 用于存储克隆参数的对象。 The object on which to store the cloned parameters.
返回: Returns:
输入 ClippingPlane 的克隆 a clone of the input ClippingPlane

static Cesium.ClippingPlane.fromPlane(plane, result)ClippingPlane

从 Plane 对象创建 ClippingPlane。 Create a ClippingPlane from a Plane object.
名称 Name 类型 Type 说明 Description
plane Plane 包含要复制的参数的平面 The plane containing parameters to copy
result ClippingPlane 可选 optional 存储结果的对象 The object on which to store the result
返回: Returns:
根据平面参数生成的 ClippingPlane。 The ClippingPlane generated from the plane's parameters.
需要帮助吗?获得答案的最快方法是从社区和团队那里获得答案 Need help? The fastest way to get answers is from the community and team on the Cesium Forum.