CADability dotNET
Returns a Path or a Polyline that approximates the curve with lines or lines and arcs.

Namespace: CADability.GeoObject
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
ICurve Approximate(
	bool linesOnly,
	double maxError
)
Visual Basic
Function Approximate ( _
	linesOnly As Boolean, _
	maxError As Double _
) As ICurve
Visual C++
ICurve^ Approximate(
	bool linesOnly, 
	double maxError
)

Parameters

linesOnly
Type: System..::..Boolean
true: no arcs, only lines
maxError
Type: System..::..Double
Maximum derivation from the exact curve

Return Value

The Approximation

See Also