Table of Contents

Method TryTrimTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryTrimTo(GeoPoint2, LineEnd, out GeoPolylineArc2)

Shortens the chain at one end back to a point on it.

public bool TryTrimTo(GeoPoint2 point, LineEnd end, out GeoPolylineArc2 result)

Parameters

point GeoPoint2
end LineEnd
result GeoPolylineArc2

Returns

bool

TryTrimTo(GeoPoint2, LineEnd, out GeoPolylineArc2, Tolerance)

Shortens the chain at one end back to a point on it, within a tolerance.

public bool TryTrimTo(GeoPoint2 point, LineEnd end, out GeoPolylineArc2 result, Tolerance tolerance)

Parameters

point GeoPoint2
end LineEnd
result GeoPolylineArc2
tolerance Tolerance

Returns

bool