 | Vector2FGetDistance Method |
Calculates the distance between this and the passed vector.
Namespace: Slash.Math.Algebra.VectorsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic float GetDistance(
Vector2F vector
)
Public Function GetDistance (
vector As Vector2F
) As Single
public:
float GetDistance(
Vector2F vector
)
member GetDistance :
vector : Vector2F -> float32
Parameters
- vector
- Type: Slash.Math.Algebra.VectorsVector2F
Vector to compute distance to.
Return Value
Type:
Single Distance between this and the passed vector.
See Also