Table of Contents

Method IsPerpendicular

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

IsPerpendicular(GeoVector3, GeoVector3)

Checks whether two vectors are perpendicular, using the default tolerance.

public static bool IsPerpendicular(GeoVector3 v1, GeoVector3 v2)

Parameters

v1 GeoVector3
v2 GeoVector3

Returns

bool

IsPerpendicular(GeoVector3, GeoVector3, Tolerance)

Checks whether two vectors are perpendicular, within an angular tolerance.

public static bool IsPerpendicular(GeoVector3 v1, GeoVector3 v2, Tolerance tolerance)

Parameters

v1 GeoVector3
v2 GeoVector3
tolerance Tolerance

Returns

bool

IsPerpendicular(GeoLine3, GeoLine3)

Checks whether two line segments are perpendicular, using the default tolerance.

public static bool IsPerpendicular(GeoLine3 line1, GeoLine3 line2)

Parameters

line1 GeoLine3
line2 GeoLine3

Returns

bool

IsPerpendicular(GeoLine3, GeoLine3, Tolerance)

Checks whether two line segments are perpendicular, within an angular tolerance.

public static bool IsPerpendicular(GeoLine3 line1, GeoLine3 line2, Tolerance tolerance)

Parameters

line1 GeoLine3
line2 GeoLine3
tolerance Tolerance

Returns

bool

Remarks

Two segments in space can be perpendicular in direction without ever meeting. This reports on direction alone, as the name says; use Intersection3 to ask whether they touch.

IsPerpendicular(GeoLine3, GeoVector3)

Checks whether a line segment is perpendicular to a vector, using the default tolerance.

public static bool IsPerpendicular(GeoLine3 line, GeoVector3 vector)

Parameters

line GeoLine3
vector GeoVector3

Returns

bool

IsPerpendicular(GeoLine3, GeoVector3, Tolerance)

Checks whether a line segment is perpendicular to a vector, within an angular tolerance.

public static bool IsPerpendicular(GeoLine3 line, GeoVector3 vector, Tolerance tolerance)

Parameters

line GeoLine3
vector GeoVector3
tolerance Tolerance

Returns

bool

IsPerpendicular(GeoLine3, GeoPlane3)

Checks whether a line segment stands perpendicular to a plane, using the default tolerance.

public static bool IsPerpendicular(GeoLine3 line, GeoPlane3 plane)

Parameters

line GeoLine3
plane GeoPlane3

Returns

bool

IsPerpendicular(GeoLine3, GeoPlane3, Tolerance)

Checks whether a line segment stands perpendicular to a plane, within an angular tolerance.

public static bool IsPerpendicular(GeoLine3 line, GeoPlane3 plane, Tolerance tolerance)

Parameters

line GeoLine3
plane GeoPlane3
tolerance Tolerance

Returns

bool

IsPerpendicular(GeoRay3, GeoPlane3)

Checks whether a ray stands perpendicular to a plane, using the default tolerance.

public static bool IsPerpendicular(GeoRay3 ray, GeoPlane3 plane)

Parameters

ray GeoRay3
plane GeoPlane3

Returns

bool

IsPerpendicular(GeoRay3, GeoPlane3, Tolerance)

Checks whether a ray stands perpendicular to a plane, within an angular tolerance.

public static bool IsPerpendicular(GeoRay3 ray, GeoPlane3 plane, Tolerance tolerance)

Parameters

ray GeoRay3
plane GeoPlane3
tolerance Tolerance

Returns

bool

IsPerpendicular(GeoPlane3, GeoPlane3)

Checks whether two planes meet at right angles, using the default tolerance.

public static bool IsPerpendicular(GeoPlane3 plane1, GeoPlane3 plane2)

Parameters

plane1 GeoPlane3
plane2 GeoPlane3

Returns

bool

IsPerpendicular(GeoPlane3, GeoPlane3, Tolerance)

Checks whether two planes meet at right angles, within an angular tolerance.

public static bool IsPerpendicular(GeoPlane3 plane1, GeoPlane3 plane2, Tolerance tolerance)

Parameters

plane1 GeoPlane3
plane2 GeoPlane3
tolerance Tolerance

Returns

bool

IsPerpendicular(GeoPolygon3, GeoPlane3)

Checks whether a polygon stands perpendicular to a plane, using the default tolerance.

public static bool IsPerpendicular(GeoPolygon3 polygon, GeoPlane3 plane)

Parameters

polygon GeoPolygon3
plane GeoPlane3

Returns

bool

IsPerpendicular(GeoPolygon3, GeoPlane3, Tolerance)

Checks whether a polygon stands perpendicular to a plane, within an angular tolerance.

public static bool IsPerpendicular(GeoPolygon3 polygon, GeoPlane3 plane, Tolerance tolerance)

Parameters

polygon GeoPolygon3
plane GeoPlane3
tolerance Tolerance

Returns

bool

IsPerpendicular(GeoPolygon3, GeoPolygon3)

Checks whether two polygons meet at right angles, using the default tolerance.

public static bool IsPerpendicular(GeoPolygon3 polygon1, GeoPolygon3 polygon2)

Parameters

polygon1 GeoPolygon3
polygon2 GeoPolygon3

Returns

bool

IsPerpendicular(GeoPolygon3, GeoPolygon3, Tolerance)

Checks whether two polygons meet at right angles, within an angular tolerance.

public static bool IsPerpendicular(GeoPolygon3 polygon1, GeoPolygon3 polygon2, Tolerance tolerance)

Parameters

polygon1 GeoPolygon3
polygon2 GeoPolygon3
tolerance Tolerance

Returns

bool