Method Subtract
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
Subtract(GeoPolygon3)
Takes a polygon out of this polygon.
public GeoFace3[] Subtract(GeoPolygon3 tool)
Parameters
toolGeoPolygon3
Returns
- GeoFace3[]
Subtract(GeoPolygon3, Tolerance)
Takes a polygon out of this polygon, within a tolerance.
public GeoFace3[] Subtract(GeoPolygon3 tool, Tolerance tolerance)
Parameters
toolGeoPolygon3The polygon; it has to lie in this polygon's plane.
toleranceToleranceThe 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.
Subtract(GeoFace3)
Takes a face out of this polygon.
public GeoFace3[] Subtract(GeoFace3 tool)
Parameters
toolGeoFace3
Returns
- GeoFace3[]
Subtract(GeoFace3, Tolerance)
Takes a face out of this polygon, within a tolerance.
public GeoFace3[] Subtract(GeoFace3 tool, Tolerance tolerance)
Parameters
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(GeoPolygonArc3)
Takes a curved loop out of this polygon.
public GeoFace3[] Subtract(GeoPolygonArc3 tool)
Parameters
toolGeoPolygonArc3
Returns
- GeoFace3[]
Subtract(GeoPolygonArc3, Tolerance)
Takes a curved loop out of this polygon, within a tolerance.
public GeoFace3[] Subtract(GeoPolygonArc3 tool, Tolerance tolerance)
Parameters
toolGeoPolygonArc3The curved loop; it has to lie in this polygon's plane.
toleranceToleranceThe tolerance.
Returns
- GeoFace3[]
The pieces the two make, in the plane they share.
Exceptions
- ArgumentNullException
Thrown when the curved loop is null.
- ArgumentException
Thrown when it lies in another plane.