Appearance
KBE3D / KBCore / Cesium / ClippingPlane
类: ClippingPlane
A Plane in Hessian Normal form to be used with ClippingPlaneCollection. Compatible with mathematics functions in Plane
参数
The plane's normal (normalized).
参数
The shortest distance from the origin to the plane. The sign of <code>distance</code> determines which side of the plane the origin is on. If <code>distance</code> 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.
属性
distance
distance:
number
The shortest distance from the origin to the plane. The sign of <code>distance</code> determines which side of the plane the origin is on. If <code>distance</code> 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
normal:
Cartesian3
The plane's normal.
方法
fromPlane()
staticfromPlane(plane:Plane,result?:ClippingPlane):ClippingPlane
Create a ClippingPlane from a Plane object.
参数
plane
The plane containing parameters to copy
result?
ClippingPlane
The object on which to store the result
返回
ClippingPlane
The ClippingPlane generated from the plane's parameters.
clone()
staticclone(clippingPlane:ClippingPlane,result?:ClippingPlane):ClippingPlane
Clones the ClippingPlane without setting its ownership.
参数
clippingPlane
ClippingPlane
The ClippingPlane to be cloned
result?
ClippingPlane
The object on which to store the cloned parameters.
返回
ClippingPlane
a clone of the input ClippingPlane
构造函数
构造函数
new ClippingPlane(
normal:Cartesian3,distance:number):ClippingPlane
参数
normal
distance
number
返回
ClippingPlane
