Documentation ¶
Index ¶
Constants ¶
View Source
const (
PI = 3.14159265358979323846
)
Variables ¶
This section is empty.
Functions ¶
func Run2 ¶
func Run2()
圆球
原理:https://www.cnblogs.com/8335IT/p/16290888.html 球面上的一个点P,与球心的连线L,L与Y轴正向的夹角为 α,L投影到 XOZ平面上L1,L1与X正向的夹角为 β,球面半径为 R 于是
y = R * cosα; x = R * sinα * cosβ; z = R * sinα * sinβ;
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.