Table of Contents

Method Subtract

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Subtract(GeoFace3)

Takes a face out of this face.

public GeoFace3[] Subtract(GeoFace3 tool)

Parameters

tool GeoFace3

Returns

GeoFace3[]

Subtract(GeoFace3, Tolerance)

Takes a face out of this face, within a tolerance.

public GeoFace3[] Subtract(GeoFace3 tool, Tolerance tolerance)

Parameters

tool GeoFace3

The face; it has to lie in this face's plane.

tolerance Tolerance

The tolerance.

Returns

GeoFace3[]

The pieces the two make, in the plane they share.

Exceptions

ArgumentNullException

Thrown when the face is null.

ArgumentException

Thrown when it lies in another plane.

Subtract(GeoPolygon3)

Takes a polygon out of this face.

public GeoFace3[] Subtract(GeoPolygon3 tool)

Parameters

tool GeoPolygon3

Returns

GeoFace3[]

Subtract(GeoPolygon3, Tolerance)

Takes a polygon out of this face, within a tolerance.

public GeoFace3[] Subtract(GeoPolygon3 tool, Tolerance tolerance)

Parameters

tool GeoPolygon3

The polygon; it has to lie in this face's plane.

tolerance Tolerance

The tolerance.

Returns

GeoFace3[]

The pieces the two make, in the plane they share.

Exceptions

ArgumentNullException

Thrown when the polygon is null.

ArgumentException

Thrown when it lies in another plane.