| LineSegment2IGetClosestPoint Method |
Computes the closest point on the line to the passed point
Namespace: Slash.Math.Geometry.LinesAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax public Vector2I GetClosestPoint(
Vector2I point
)
Public Function GetClosestPoint (
point As Vector2I
) As Vector2I
public:
Vector2I GetClosestPoint(
Vector2I point
)
member GetClosestPoint :
point : Vector2I -> Vector2I
Parameters
- point
- Type: Slash.Math.Algebra.VectorsVector2I
Point to find the closest point on the line segment for
Return Value
Type:
Vector2I Closest point on the line segment to the passed point
See Also