M_Rhino_Geometry_Curve_Simplify - mcneel/rhinocommon-api-docs GitHub Wiki
Returns a geometrically equivalent PolyCurve. The PolyCurve has the following properties
-
All the PolyCurve segments are LineCurve, PolylineCurve, ArcCurve, or NurbsCurve.
-
The Nurbs Curves segments do not have fully multiple interior knots.
-
Rational Nurbs curves do not have constant weights.
-
Any segment for which IsLinear() or IsArc() is true is a Line, Polyline segment, or an Arc.
-
Adjacent Colinear or Cocircular segments are combined.
-
Segments that meet with G1-continuity have there ends tuned up so that they meet with G1-continuity to within machine precision.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public Curve Simplify(
CurveSimplifyOptions options,
double distanceTolerance,
double angleToleranceRadians
)
VB
Public Function Simplify (
options As CurveSimplifyOptions,
distanceTolerance As Double,
angleToleranceRadians As Double
) As Curve
- 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.
Type: Curve
New simplified curve on success, null on failure.
Supported in: 6.0.16224.21491, 5D58w