Table of Contents

Method IsParallel

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

IsParallel(GeoTriangle2, GeoLine2)

Checks whether an edge of a triangle runs parallel to a segment, using the default tolerance.

public static bool IsParallel(GeoTriangle2 triangle, GeoLine2 line)

Parameters

triangle GeoTriangle2
line GeoLine2

Returns

bool

IsParallel(GeoTriangle2, GeoLine2, Tolerance)

Checks whether an edge of a triangle runs parallel to a segment, within a tolerance.

public static bool IsParallel(GeoTriangle2 triangle, GeoLine2 line, Tolerance tolerance)

Parameters

triangle GeoTriangle2
line GeoLine2
tolerance Tolerance

Returns

bool

Remarks

An edge shorter than the point tolerance has no direction, and is parallel to nothing.