M_Rhino_Geometry_Curve_SimplifyEnd - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.SimplifyEnd Method

Same as SimplifyCurve, but simplifies only the last two segments at "side" end.

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

Syntax

C#

public Curve SimplifyEnd(
	CurveEnd end,
	CurveSimplifyOptions options,
	double distanceTolerance,
	double angleToleranceRadians
)

VB

Public Function SimplifyEnd ( 
	end As CurveEnd,
	options As CurveSimplifyOptions,
	distanceTolerance As Double,
	angleToleranceRadians As Double
) As Curve

Parameters

 

end
Type: Rhino.Geometry.CurveEnd
If CurveEnd.Start the function simplifies the last two start side segments, otherwise if CurveEnd.End the last two end side segments are simplified.
options
Type: Rhino.Geometry.CurveSimplifyOptions
Simplification options.
distanceTolerance
Type: System.Double
A distance tolerance for the simplification.
angleToleranceRadians
Type: System.Double
An angle tolerance for the simplification.

Return Value

Type: Curve
New simplified curve on success, null on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
Rhino.Geometry Namespace

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