Kit Documentation
Kit Documentation
Kit Reference
Kit.Algorithms
SphericalCoordinate Structure
SphericalCoordinate Methods
DistanceTo Method
DistanceTo Method (SphericalCoordinate)
DistanceTo Method (SphericalCoordinate, Single)
SphericalCoordinate
DistanceTo Method (SphericalCoordinate)
Calculates the distance from a point on a sphere to another point on a sphere.
Namespace:
Kit.Algorithms
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
Copy
public
float
DistanceTo
(
SphericalCoordinate
other
)
Request Example
View Source
Parameters
other
Type:
Kit.Algorithms
SphericalCoordinate
The other point.
Return Value
Type:
Single
Distance between this and the other point.
See Also
Reference
SphericalCoordinate Structure
DistanceTo Overload
Kit.Algorithms Namespace
Send comments on this topic to
agam@frag-games.com