Skip to content

M_Rhino_Geometry_Line_ClosestParameter

Will Pearson edited this page Aug 12, 2016 · 2 revisions

Line.ClosestParameter Method

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

Syntax

C#

public double ClosestParameter(
	Point3d testPoint
)

VB

Public Function ClosestParameter ( 
	testPoint As Point3d
) As Double

Parameters

 

testPoint
Type: Rhino.Geometry.Point3d
Point to project onto the line.

Return Value

Type: Double
The parameter on the line that is closest to testPoint.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Line Structure
Rhino.Geometry Namespace

Clone this wiki locally