Circle.TryFitCircleTTT Method

CircleTryFitCircleTTT Method

Try to fit a circle to three curves using tangent relationships.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Circle TryFitCircleTTT(
	Curve c1,
	Curve c2,
	Curve c3,
	double t1,
	double t2,
	double t3
)
Public Shared Function TryFitCircleTTT ( 
	c1 As Curve,
	c2 As Curve,
	c3 As Curve,
	t1 As Double,
	t2 As Double,
	t3 As Double
) As Circle

Parameters

c1
Type: Rhino.GeometryCurve
First curve to touch.
c2
Type: Rhino.GeometryCurve
Second curve to touch.
c3
Type: Rhino.GeometryCurve
Third curve to touch.
t1
Type: SystemDouble
Parameter on first curve close to desired solution.
t2
Type: SystemDouble
Parameter on second curve closet to desired solution.
t3
Type: SystemDouble
Parameter on third curve close to desired solution.

Return Value

Type: Circle
Valid circle on success, Circle.Unset on failure.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also