Table of Contents

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

first GeoPolygon3
second GeoPolygon3

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

first GeoPolygon3

The polygon.

second GeoPolygon3

The polygon; it has to lie in the first shape's plane.

tolerance Tolerance

The 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

first GeoPolygon3
second GeoFace3

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

first GeoPolygon3

The polygon.

second GeoFace3

The face; it has to lie in the first shape's plane.

tolerance Tolerance

The 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

first GeoFace3
second GeoPolygon3

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

first GeoFace3

The face.

second GeoPolygon3

The polygon; it has to lie in the first shape's plane.

tolerance Tolerance

The 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

first GeoFace3
second GeoFace3

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

first GeoFace3

The face.

second GeoFace3

The face; it has to lie in the first shape's plane.

tolerance Tolerance

The 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.