| LineSegment2IGetSquareDistance 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
Syntax public float GetSquareDistance(
Vector2I point
)
Public Function GetSquareDistance (
point As Vector2I
) As Single
public:
float GetSquareDistance(
Vector2I point
)
member GetSquareDistance :
point : Vector2I -> float32
Parameters
- point
- Type: Slash.Math.Algebra.VectorsVector2I
Point which distance to the segment should be checked
Return Value
Type:
Single Squared distance to the passed point
See Also