M_Rhino_Geometry_Curve_GetFilletPoints - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.GetFilletPoints Method

Finds points at which to cut a pair of curves so that a fillet of given radius can be inserted.

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

Syntax

C#

public static bool GetFilletPoints(
	Curve curve0,
	Curve curve1,
	double radius,
	double t0Base,
	double t1Base,
	out double t0,
	out double t1,
	out Plane filletPlane
)

VB

Public Shared Function GetFilletPoints ( 
	curve0 As Curve,
	curve1 As Curve,
	radius As Double,
	t0Base As Double,
	t1Base As Double,
	<OutAttribute> ByRef t0 As Double,
	<OutAttribute> ByRef t1 As Double,
	<OutAttribute> ByRef filletPlane As Plane
) As Boolean

Parameters

 

curve0
Type: Rhino.Geometry.Curve
First curve to fillet.
curve1
Type: Rhino.Geometry.Curve
Second curve to fillet.
radius
Type: System.Double
Fillet radius.
t0Base
Type: System.Double
Parameter value for base point on curve0.
t1Base
Type: System.Double
Parameter value for base point on curve1.
t0
Type: System.Double
Parameter value of fillet point on curve 0.
t1
Type: System.Double
Parameter value of fillet point on curve 1.
filletPlane
Type: Rhino.Geometry.Plane
The fillet is contained in this plane with the fillet center at the plane origin.

Return Value

Type: Boolean
true on success, false on failure.

Remarks

A fillet point is a pair of curve parameters (t0,t1) such that there is a circle of radius point3 tangent to curve c0 at t0 and tangent to curve c1 at t1. Of all possible fillet points this function returns the one which is the closest to the base point t0Base, t1Base. Distance from the base point is measured by the sum of arc lengths along the two curves.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
Rhino.Geometry Namespace

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