 | LineSegment2FGetSquareDistance Method |
Returns the squared distance of this segment to the passed point
Namespace: Slash.Math.Geometry.LinesAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic float GetSquareDistance(
Vector2F point
)
Public Function GetSquareDistance (
point As Vector2F
) As Single
public:
float GetSquareDistance(
Vector2F point
)
member GetSquareDistance :
point : Vector2F -> float32
Parameters
- point
- Type: Slash.Math.Algebra.VectorsVector2F
Point which distance to the segment should be checked
Return Value
Type:
Single Squared distance to the passed point
See Also