M_Rhino_Geometry_Circle_ClosestParameter - mcneel/rhinocommon-api-docs GitHub Wiki

Circle.ClosestParameter Method

Gets the parameter on the circle which is closest to a test point.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public bool ClosestParameter(
	Point3d testPoint,
	out double t
)

VB

Public Function ClosestParameter ( 
	testPoint As Point3d,
	<OutAttribute> ByRef t As Double
) As Boolean

Parameters

 

testPoint
Type: Rhino.Geometry.Point3d
Point to project onto the circle.
t
Type: System.Double
Parameter on circle closes to testPoint.

Return Value

Type: Boolean
true on success, false on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Circle Structure
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️