M_Rhino_Geometry_Line_ClosestParameter - mcneel/rhinocommon-api-docs GitHub Wiki
Finds the parameter on the infinite line segment that is closest to a test point.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public double ClosestParameter(
Point3d testPoint
)
VB
Public Function ClosestParameter (
testPoint As Point3d
) As Double
- testPoint
- Type: Rhino.Geometry.Point3d
Point to project onto the line.
Type: Double
The parameter on the line that is closest to testPoint.
Supported in: 6.0.16224.21491, 5D58w