Table of Contents

Method TryTrimTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryTrimTo(GeoPoint2, LineEnd, out GeoPolyline2)

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

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

Parameters

point GeoPoint2
end LineEnd
result GeoPolyline2

Returns

bool

TryTrimTo(GeoPoint2, LineEnd, out GeoPolyline2, Tolerance)

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

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

Parameters

point GeoPoint2
end LineEnd
result GeoPolyline2
tolerance Tolerance

Returns

bool