Method Xor
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
Xor(GeoPolygonArc3)
Keeps what this loop and another lying in the same plane cover, but not both.
public GeoFace3[] Xor(GeoPolygonArc3 other)
Parameters
otherGeoPolygonArc3
Returns
- GeoFace3[]
Xor(GeoPolygonArc3, Tolerance)
Keeps what this loop and another lying in the same plane cover, but not both, within a tolerance.
public GeoFace3[] Xor(GeoPolygonArc3 other, Tolerance tolerance)
Parameters
otherGeoPolygonArc3The other loop; it has to lie in this loop's plane.
toleranceToleranceThe tolerance.
Returns
- GeoFace3[]
The faces exactly one of the two covers.
Exceptions
- ArgumentNullException
Thrown when the other loop is null.
- ArgumentException
Thrown when the other loop lies in a different plane.
Xor(GeoPolygon3)
Keeps what this loop and a polygon lying in the same plane cover between them but do not share.
public GeoFace3[] Xor(GeoPolygon3 other)
Parameters
otherGeoPolygon3
Returns
- GeoFace3[]
Xor(GeoPolygon3, Tolerance)
Keeps what this loop and a polygon lying in the same plane cover between them but do not share, within a tolerance.
public GeoFace3[] Xor(GeoPolygon3 other, Tolerance tolerance)
Parameters
otherGeoPolygon3The polygon; it has to lie in this loop's plane.
toleranceToleranceThe tolerance.
Returns
- GeoFace3[]
Exceptions
- ArgumentNullException
Thrown when the polygon is null.
- ArgumentException
Thrown when the polygon lies in a different plane.