Appearance
KBE3D / KBCore / Cesium / IntersectionTests / lineSegmentSphere
函数: lineSegmentSphere()
lineSegmentSphere(
p0:Cartesian3,p1:Cartesian3,sphere:BoundingSphere,result?:Interval):Interval
Computes the intersection points of a line segment with a sphere.
参数
p0
An end point of the line segment.
p1
The other end point of the line segment.
sphere
The sphere.
result?
The result onto which to store the result.
返回
The interval containing scalar points along the ray or undefined if there are no intersections.
