Curve.CreateFilletCornersCurve Method

CurveCreateFilletCornersCurve Method

Rounds the corners of a kinked curve with arcs of a single, specified radius.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Curve CreateFilletCornersCurve(
	Curve curve,
	double radius,
	double tolerance,
	double angleTolerance
)
Public Shared Function CreateFilletCornersCurve ( 
	curve As Curve,
	radius As Double,
	tolerance As Double,
	angleTolerance As Double
) As Curve

Parameters

curve
Type: Rhino.GeometryCurve
The curve to fillet.
radius
Type: SystemDouble
The fillet radius.
tolerance
Type: SystemDouble
The tolerance. When in doubt, use the document's model space absolute tolerance.
angleTolerance
Type: SystemDouble
The angle tolerance in radians. When in doubt, use the document's model space angle tolerance.

Return Value

Type: Curve
The filleted curve if successful. null on failure.
Version Information

Rhino for Windows

Supported in: 6.14
See Also