Click or drag to resize

SphericalCoordinateDistanceTo Method (SphericalCoordinate, Single)

Calculates the distance from a point on a sphere to another point at a given radius.

Namespace:  Kit.Algorithms
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public float DistanceTo(
	SphericalCoordinate other,
	float atRadius
)
Request Example View Source

Parameters

other
Type: Kit.AlgorithmsSphericalCoordinate
The other point.
atRadius
Type: SystemSingle
Radius at which to calculate.

Return Value

Type: Single
Distance between this and the other point at the radius specified.
Remarks
See Also