Drawing3d documented Class Library

Utils.PolarUnit Method

Calculates the points of a unit sphere, where Alpha indicates the geographical longitude and Phi the latitude. For the values Apha = 0 and Phi = 0 you get the Point(1, 0, 0). For an arbitrary sphere you have to multiply with it´s Radius

[Visual Basic]
Public Shared Sub PolarUnit( _
   ByVal Alpha As Double, _
   ByVal Beta As Double _
)
[C#]
public static xyz PolarUnit(
   double Alpha,
   double Beta
);

Parameters

Alpha
Angle of the geographical longitude in radian
Beta
Angle of the geographical latitude in radian

Return Value

a point on a unitsphere

See Also

Utils Class | Drawing3d.Math Namespace