Click or drag to resize

CurveSimplifyEnd Method

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

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Curve SimplifyEnd(
	CurveEnd end,
	CurveSimplifyOptions options,
	double distanceTolerance,
	double angleToleranceRadians
)

Parameters

end
Type: Rhino.GeometryCurveEnd
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.GeometryCurveSimplifyOptions
Simplification options.
distanceTolerance
Type: SystemDouble
A distance tolerance for the simplification.
angleToleranceRadians
Type: SystemDouble
An angle tolerance for the simplification.

Return Value

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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also