Method Contains
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
Contains(GeoTriangle2, GeoLine2)
Checks whether a triangle holds a segment whole, its edges included, using the default tolerance.
public static bool Contains(GeoTriangle2 triangle, GeoLine2 line)
Parameters
triangleGeoTriangle2lineGeoLine2
Returns
Contains(GeoTriangle2, GeoLine2, Tolerance)
Checks whether a triangle holds a segment whole, its edges included, within a tolerance.
public static bool Contains(GeoTriangle2 triangle, GeoLine2 line, Tolerance tolerance)
Parameters
triangleGeoTriangle2lineGeoLine2toleranceTolerance
Returns
Remarks
A triangle of no width holds what lies along it, every corner of it on the segment the triangle is.
Contains(GeoTriangle2, GeoPolyline2)
Checks whether a triangle holds a polyline whole, its edges included, using the default tolerance.
public static bool Contains(GeoTriangle2 triangle, GeoPolyline2 polyline)
Parameters
triangleGeoTriangle2polylineGeoPolyline2
Returns
Contains(GeoTriangle2, GeoPolyline2, Tolerance)
Checks whether a triangle holds a polyline whole, its edges included, within a tolerance.
public static bool Contains(GeoTriangle2 triangle, GeoPolyline2 polyline, Tolerance tolerance)
Parameters
triangleGeoTriangle2polylineGeoPolyline2toleranceTolerance
Returns
Remarks
A triangle of no width holds what lies along it, every corner of it on the segment the triangle is.