collapse_all
expand_all
collapse_allexpand_alldropdowndropdownHovercopycodecopycodeHighlight

collapse_all Collapse AllExpand All     dropdown Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++
DPSF API Documentation

DPSFHelper

.
.
::
..PointOnSphere Method (Single, Single, Single)
gradient

Returns a point on a sphere with the given Radius. To create a circle simply use a constant value for one of the Angles while changing the other Angle.

Namespace: DPSF

Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0

collapse_allSyntax

C#

public static Vector3 PointOnSphere(

 float fYawAngle,

 float fPitchAngle,

 float fRadius

)

Visual Basic

Public Shared Function PointOnSphere (

 fYawAngle As Single,

 fPitchAngle As Single,

 fRadius As Single

As Vector3

Visual C++

public:

static Vector3 PointOnSphere(

 float fYawAngle,

 float fPitchAngle,

 float fRadius

)

Parameters

fYawAngle

Type: System..::..Single

Imagine a point on the surface of the sphere at the front center of the sphere. This value will be how much to rotate that point around the horizontal ring around the center of the sphere, in radians.

fPitchAngle

Type: System..::..Single

This value will be how much to rotate that point around the vertical ring around the sphere, at the current position of the point, in radians.

fRadius

Type: System..::..Single

The radius the sphere should have

Return Value

Type: Vector3

Returns a point on a sphere with the given radius

collapse_allSee Also

DPSFHelper Class

DPSFHelper Members

PointOnSphere Overload

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com