Circle.ClosestParameter Method

CircleClosestParameter Method

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

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public bool ClosestParameter(
	Point3d testPoint,
	out double t
)
Public Function ClosestParameter ( 
	testPoint As Point3d,
	<OutAttribute> ByRef t As Double
) As Boolean

Parameters

testPoint
Type: Rhino.GeometryPoint3d
Point to project onto the circle.
t
Type: SystemDouble
Parameter on circle closes to testPoint.

Return Value

Type: Boolean
true on success, false on failure.
See Also