Appearance
KBE3D / KBCore / Cesium / EllipsoidOutlineGeometry
类: EllipsoidOutlineGeometry
A description of the outline of an ellipsoid centered at the origin.
示例
ts
const ellipsoid = new Cesium.EllipsoidOutlineGeometry({
radii : new Cesium.Cartesian3(1000000.0, 500000.0, 500000.0),
stackPartitions: 6,
slicePartitions: 5
});
const geometry = Cesium.EllipsoidOutlineGeometry.createGeometry(ellipsoid);参数
Object with the following properties:
参数
The radii of the ellipsoid in the x, y, and z directions.
参数
The inner radii of the ellipsoid in the x, y, and z directions.
参数
The minimum angle lying in the xy-plane measured from the positive x-axis and toward the positive y-axis.
参数
The maximum angle lying in the xy-plane measured from the positive x-axis and toward the positive y-axis.
参数
The minimum angle measured from the positive z-axis and toward the negative z-axis.
参数
The maximum angle measured from the positive z-axis and toward the negative z-axis.
参数
The count of stacks for the ellipsoid (1 greater than the number of parallel lines).
参数
The count of slices for the ellipsoid (Equal to the number of radial lines).
参数
The number of points per line, determining the granularity of the curvature.
属性
packedLength
staticpackedLength:number
The number of elements used to pack the object into an array.
方法
pack()
staticpack(value:EllipsoidOutlineGeometry,array:number[],startingIndex?:number):number[]
Stores the provided instance into the provided array.
参数
value
EllipsoidOutlineGeometry
The value to pack.
array
number[]
The array to pack into.
startingIndex?
number
The index into the array at which to start packing the elements.
返回
number[]
The array that was packed into
unpack()
staticunpack(array:number[],startingIndex?:number,result?:EllipsoidOutlineGeometry):EllipsoidOutlineGeometry
Retrieves an instance from a packed array.
参数
array
number[]
The packed array.
startingIndex?
number
The starting index of the element to be unpacked.
result?
EllipsoidOutlineGeometry
The object into which to store the result.
返回
EllipsoidOutlineGeometry
The modified result parameter or a new EllipsoidOutlineGeometry instance if one was not provided.
createGeometry()
staticcreateGeometry(ellipsoidGeometry:EllipsoidOutlineGeometry):Geometry|undefined
Computes the geometric representation of an outline of an ellipsoid, including its vertices, indices, and a bounding sphere.
参数
ellipsoidGeometry
EllipsoidOutlineGeometry
A description of the ellipsoid outline.
返回
Geometry | undefined
The computed vertices and indices.
构造函数
构造函数
new EllipsoidOutlineGeometry(
options?: {radii?:Cartesian3;innerRadii?:Cartesian3;minimumClock?:number;maximumClock?:number;minimumCone?:number;maximumCone?:number;stackPartitions?:number;slicePartitions?:number;subdivisions?:number; }):EllipsoidOutlineGeometry
参数
options?
radii?
innerRadii?
minimumClock?
number
maximumClock?
number
minimumCone?
number
maximumCone?
number
stackPartitions?
number
slicePartitions?
number
subdivisions?
number
返回
EllipsoidOutlineGeometry
