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
triangleGeoTriangle2lineGeoLine2
Returns
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
triangleGeoTriangle2lineGeoLine2toleranceTolerance
Returns
Remarks
An edge shorter than the point tolerance has no direction, and is parallel to nothing.