RhinoCommon API
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
public Curve SimplifyEnd( CurveEnd end, CurveSimplifyOptions options, double distanceTolerance, double angleToleranceRadians )
Public Function SimplifyEnd ( end As CurveEnd, options As CurveSimplifyOptions, distanceTolerance As Double, angleToleranceRadians As Double ) As Curve
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: CurveNew simplified curve on success, null on failure.