Table of Contents

Method IsParallelTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

IsParallelTo(GeoLine2)

Checks whether this line segment is parallel to another line segment using default tolerance.

public bool IsParallelTo(GeoLine2 other)

Parameters

other GeoLine2

Returns

bool

IsParallelTo(GeoLine2, Tolerance)

Checks whether this line segment is parallel to another line segment within angular tolerance.

public bool IsParallelTo(GeoLine2 other, Tolerance tolerance)

Parameters

other GeoLine2
tolerance Tolerance

Returns

bool

IsParallelTo(GeoVector2)

Checks whether this line segment is parallel to a vector using default tolerance.

public bool IsParallelTo(GeoVector2 vector)

Parameters

vector GeoVector2

Returns

bool

IsParallelTo(GeoVector2, Tolerance)

Checks whether this line segment is parallel to a vector within angular tolerance.

public bool IsParallelTo(GeoVector2 vector, Tolerance tolerance)

Parameters

vector GeoVector2
tolerance Tolerance

Returns

bool

IsParallelTo(GeoRectangle2)

Checks whether this line segment is parallel to any edge of a rotated rectangle using default tolerance.

public bool IsParallelTo(GeoRectangle2 rect)

Parameters

rect GeoRectangle2

Returns

bool

IsParallelTo(GeoRectangle2, Tolerance)

Checks whether this line segment is parallel to any edge of a rotated rectangle within angular tolerance.

public bool IsParallelTo(GeoRectangle2 rect, Tolerance tolerance)

Parameters

rect GeoRectangle2
tolerance Tolerance

Returns

bool

IsParallelTo(GeoTriangle2)

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

public bool IsParallelTo(GeoTriangle2 triangle)

Parameters

triangle GeoTriangle2

Returns

bool

IsParallelTo(GeoTriangle2, Tolerance)

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

public bool IsParallelTo(GeoTriangle2 triangle, Tolerance tolerance)

Parameters

triangle GeoTriangle2
tolerance Tolerance

Returns

bool