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)
Since: 5.0
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.
See Also