Table of Contents

Method TryTrimExtendToCorner

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryTrimExtendToCorner(GeoLine2, out GeoLine2, out GeoLine2)

Trims or extends this segment and another so that they meet in a corner, using default tolerance. Each keeps its end farther from the corner. See TryTrimExtendToCorner(GeoLine2, GeoLine2, out GeoLine2, out GeoLine2, Tolerance).

public bool TryTrimExtendToCorner(GeoLine2 other, out GeoLine2 trimmedThis, out GeoLine2 trimmedOther)

Parameters

other GeoLine2
trimmedThis GeoLine2
trimmedOther GeoLine2

Returns

bool

TryTrimExtendToCorner(GeoLine2, out GeoLine2, out GeoLine2, Tolerance)

Trims or extends this segment and another so that they meet in a corner, within tolerance.

public bool TryTrimExtendToCorner(GeoLine2 other, out GeoLine2 trimmedThis, out GeoLine2 trimmedOther, Tolerance tolerance)

Parameters

other GeoLine2
trimmedThis GeoLine2
trimmedOther GeoLine2
tolerance Tolerance

Returns

bool