Table of Contents

Method ToPolyline3

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

ToPolyline3(double)

Gets the chain as a straight one following its arcs to a given accuracy.

public GeoPolyline3 ToPolyline3(double chordTolerance)

Parameters

chordTolerance double

How far the straight pieces may fall inside an arc.

Returns

GeoPolyline3

A straight chain no point of which stands further than the chord tolerance from this one.

Remarks

This is how to measure a curved chain against anything but a point: the distance from an arc in space to a segment, to another arc or to a body has no closed form, so the library does not pretend to one. Sampling here puts the accuracy in the call, where it can be seen.