Table of Contents

Method Union

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

Union(GeoPolygon3, GeoPolygon3)

Joins two shapes lying in one plane.

public static GeoFace3[] Union(GeoPolygon3 first, GeoPolygon3 second)

Parameters

first GeoPolygon3
second GeoPolygon3

Returns

GeoFace3[]

Union(GeoPolygon3, GeoPolygon3, Tolerance)

Joins two shapes lying in one plane, within a tolerance.

public static GeoFace3[] Union(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.

Union(GeoPolygon3, GeoFace3)

Joins two shapes lying in one plane.

public static GeoFace3[] Union(GeoPolygon3 first, GeoFace3 second)

Parameters

first GeoPolygon3
second GeoFace3

Returns

GeoFace3[]

Union(GeoPolygon3, GeoFace3, Tolerance)

Joins two shapes lying in one plane, within a tolerance.

public static GeoFace3[] Union(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.

Union(GeoFace3, GeoPolygon3)

Joins two shapes lying in one plane.

public static GeoFace3[] Union(GeoFace3 first, GeoPolygon3 second)

Parameters

first GeoFace3
second GeoPolygon3

Returns

GeoFace3[]

Union(GeoFace3, GeoPolygon3, Tolerance)

Joins two shapes lying in one plane, within a tolerance.

public static GeoFace3[] Union(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.

Union(GeoFace3, GeoFace3)

Joins two shapes lying in one plane.

public static GeoFace3[] Union(GeoFace3 first, GeoFace3 second)

Parameters

first GeoFace3
second GeoFace3

Returns

GeoFace3[]

Union(GeoFace3, GeoFace3, Tolerance)

Joins two shapes lying in one plane, within a tolerance.

public static GeoFace3[] Union(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.