Method Xor
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
Xor(GeoPolygon3, GeoPolygon3)
Keeps what two shapes lying in one plane cover between them but do not share.
public static GeoFace3[] Xor(GeoPolygon3 first, GeoPolygon3 second)
Parameters
firstGeoPolygon3secondGeoPolygon3
Returns
- GeoFace3[]
Xor(GeoPolygon3, GeoPolygon3, Tolerance)
Keeps what two shapes lying in one plane cover between them but do not share, within a tolerance.
public static GeoFace3[] Xor(GeoPolygon3 first, GeoPolygon3 second, Tolerance tolerance)
Parameters
firstGeoPolygon3The polygon.
secondGeoPolygon3The polygon; it has to lie in the first shape's plane.
toleranceToleranceThe tolerance.
Returns
- GeoFace3[]
The pieces the two make, in the plane they share.
Exceptions
- ArgumentNullException
Thrown when either shape is null.
- ArgumentException
Thrown when the two lie in different planes.
Xor(GeoPolygon3, GeoFace3)
Keeps what two shapes lying in one plane cover between them but do not share.
public static GeoFace3[] Xor(GeoPolygon3 first, GeoFace3 second)
Parameters
firstGeoPolygon3secondGeoFace3
Returns
- GeoFace3[]
Xor(GeoPolygon3, GeoFace3, Tolerance)
Keeps what two shapes lying in one plane cover between them but do not share, within a tolerance.
public static GeoFace3[] Xor(GeoPolygon3 first, GeoFace3 second, Tolerance tolerance)
Parameters
firstGeoPolygon3The polygon.
secondGeoFace3The face; it has to lie in the first shape's plane.
toleranceToleranceThe tolerance.
Returns
- GeoFace3[]
The pieces the two make, in the plane they share.
Exceptions
- ArgumentNullException
Thrown when either shape is null.
- ArgumentException
Thrown when the two lie in different planes.
Xor(GeoFace3, GeoPolygon3)
Keeps what two shapes lying in one plane cover between them but do not share.
public static GeoFace3[] Xor(GeoFace3 first, GeoPolygon3 second)
Parameters
firstGeoFace3secondGeoPolygon3
Returns
- GeoFace3[]
Xor(GeoFace3, GeoPolygon3, Tolerance)
Keeps what two shapes lying in one plane cover between them but do not share, within a tolerance.
public static GeoFace3[] Xor(GeoFace3 first, GeoPolygon3 second, Tolerance tolerance)
Parameters
firstGeoFace3The face.
secondGeoPolygon3The polygon; it has to lie in the first shape's plane.
toleranceToleranceThe tolerance.
Returns
- GeoFace3[]
The pieces the two make, in the plane they share.
Exceptions
- ArgumentNullException
Thrown when either shape is null.
- ArgumentException
Thrown when the two lie in different planes.
Xor(GeoFace3, GeoFace3)
Keeps what two shapes lying in one plane cover between them but do not share.
public static GeoFace3[] Xor(GeoFace3 first, GeoFace3 second)
Parameters
Returns
- GeoFace3[]
Xor(GeoFace3, GeoFace3, Tolerance)
Keeps what two shapes lying in one plane cover between them but do not share, within a tolerance.
public static GeoFace3[] Xor(GeoFace3 first, GeoFace3 second, Tolerance tolerance)
Parameters
firstGeoFace3The face.
secondGeoFace3The face; it has to lie in the first shape's plane.
toleranceToleranceThe tolerance.
Returns
- GeoFace3[]
The pieces the two make, in the plane they share.
Exceptions
- ArgumentNullException
Thrown when either shape is null.
- ArgumentException
Thrown when the two lie in different planes.