Table of Contents

Method Subtract

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Subtract(GeoPolygonArc3)

Takes another loop lying in the same plane out of this one.

public GeoFace3[] Subtract(GeoPolygonArc3 tool)

Parameters

tool GeoPolygonArc3

Returns

GeoFace3[]

Subtract(GeoPolygonArc3, Tolerance)

Takes another loop lying in the same plane out of this one, within a tolerance.

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

Parameters

tool GeoPolygonArc3

The loop to take away; it has to lie in this loop's plane.

tolerance Tolerance

The tolerance.

Returns

GeoFace3[]

What is left of this loop, which may be more than one face and may carry holes.

Exceptions

ArgumentNullException

Thrown when the tool is null.

ArgumentException

Thrown when the tool lies in a different plane.

Subtract(GeoPolygon3)

Takes a polygon lying in the same plane out of this loop.

public GeoFace3[] Subtract(GeoPolygon3 tool)

Parameters

tool GeoPolygon3

Returns

GeoFace3[]

Subtract(GeoPolygon3, Tolerance)

Takes a polygon lying in the same plane out of this loop, within a tolerance.

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

Parameters

tool GeoPolygon3

The polygon to take away; it has to lie in this loop's plane.

tolerance Tolerance

The tolerance.

Returns

GeoFace3[]

Exceptions

ArgumentNullException

Thrown when the tool is null.

ArgumentException

Thrown when the tool lies in a different plane.