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
v1GeoVector3v2GeoVector3
Returns
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
v1GeoVector3v2GeoVector3toleranceTolerance
Returns
IsPerpendicular(GeoLine3, GeoLine3)
Checks whether two line segments are perpendicular, using the default tolerance.
public static bool IsPerpendicular(GeoLine3 line1, GeoLine3 line2)
Parameters
Returns
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
Returns
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
lineGeoLine3vectorGeoVector3
Returns
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
lineGeoLine3vectorGeoVector3toleranceTolerance
Returns
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
Returns
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
Returns
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
Returns
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
Returns
IsPerpendicular(GeoPlane3, GeoPlane3)
Checks whether two planes meet at right angles, using the default tolerance.
public static bool IsPerpendicular(GeoPlane3 plane1, GeoPlane3 plane2)
Parameters
Returns
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
Returns
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
polygonGeoPolygon3planeGeoPlane3
Returns
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
polygonGeoPolygon3planeGeoPlane3toleranceTolerance
Returns
IsPerpendicular(GeoPolygon3, GeoPolygon3)
Checks whether two polygons meet at right angles, using the default tolerance.
public static bool IsPerpendicular(GeoPolygon3 polygon1, GeoPolygon3 polygon2)
Parameters
polygon1GeoPolygon3polygon2GeoPolygon3
Returns
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
polygon1GeoPolygon3polygon2GeoPolygon3toleranceTolerance