Table of Contents

Method TryTrimTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryTrimTo(GeoPoint3, LineEnd, out GeoEdge3)

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

public bool TryTrimTo(GeoPoint3 point, LineEnd end, out GeoEdge3 result)

Parameters

point GeoPoint3
end LineEnd
result GeoEdge3

Returns

bool

TryTrimTo(GeoPoint3, LineEnd, out GeoEdge3, Tolerance)

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

public bool TryTrimTo(GeoPoint3 point, LineEnd end, out GeoEdge3 result, Tolerance tolerance)

Parameters

point GeoPoint3

The point to stop at; it has to lie on the edge.

end LineEnd

Which end to move.

result GeoEdge3

The shortened edge, or the edge unchanged.

tolerance Tolerance

The tolerance.

Returns

bool

true when the edge was shortened; otherwise, false.