Curve.IsLinear Method

Test a curve to see if the locus of its points is a line segment.
Public Function IsLinear( _ 
ByVal tolerance As Double, _ 
ByRef line As Segment3D
) As Boolean
This language is not supported or no code example is available.
public bool IsLinear( 
double tolerance
out Segment3D line 
)
This language is not supported or no code example is available.

Parameters

tolerance
double

The tolerance

line
Segment3D

The line where the curve lays

Return Value

bool

True if the ends of the curve are farther than tolerance apart and the maximum distance from any point on the curve to the line segment connecting the curve's ends is <= tolerance

.NET Framework

Supported in: 4.8

In this article

Definition