Method Subtract
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
Subtract(GeoPolygon3, GeoPolygon3)
Takes one shape out of another lying in the same plane.
public static GeoFace3[] Subtract(GeoPolygon3 first, GeoPolygon3 tool)
Parameters
firstGeoPolygon3toolGeoPolygon3
Returns
- GeoFace3[]
Subtract(GeoPolygon3, GeoPolygon3, Tolerance)
Takes one shape out of another lying in the same plane, within a tolerance.
public static GeoFace3[] Subtract(GeoPolygon3 first, GeoPolygon3 tool, Tolerance tolerance)
Parameters
firstGeoPolygon3The polygon.
toolGeoPolygon3The polygon; it has to lie in the first shape's plane.
toleranceToleranceThe 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.
Subtract(GeoPolygon3, GeoFace3)
Takes one shape out of another lying in the same plane.
public static GeoFace3[] Subtract(GeoPolygon3 first, GeoFace3 tool)
Parameters
firstGeoPolygon3toolGeoFace3
Returns
- GeoFace3[]
Subtract(GeoPolygon3, GeoFace3, Tolerance)
Takes one shape out of another lying in the same plane, within a tolerance.
public static GeoFace3[] Subtract(GeoPolygon3 first, GeoFace3 tool, Tolerance tolerance)
Parameters
firstGeoPolygon3The polygon.
toolGeoFace3The face; it has to lie in the first shape's plane.
toleranceToleranceThe 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.
Subtract(GeoFace3, GeoPolygon3)
Takes one shape out of another lying in the same plane.
public static GeoFace3[] Subtract(GeoFace3 first, GeoPolygon3 tool)
Parameters
firstGeoFace3toolGeoPolygon3
Returns
- GeoFace3[]
Subtract(GeoFace3, GeoPolygon3, Tolerance)
Takes one shape out of another lying in the same plane, within a tolerance.
public static GeoFace3[] Subtract(GeoFace3 first, GeoPolygon3 tool, Tolerance tolerance)
Parameters
firstGeoFace3The face.
toolGeoPolygon3The polygon; it has to lie in the first shape's plane.
toleranceToleranceThe 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.
Subtract(GeoFace3, GeoFace3)
Takes one shape out of another lying in the same plane.
public static GeoFace3[] Subtract(GeoFace3 first, GeoFace3 tool)
Parameters
Returns
- GeoFace3[]
Subtract(GeoFace3, GeoFace3, Tolerance)
Takes one shape out of another lying in the same plane, within a tolerance.
public static GeoFace3[] Subtract(GeoFace3 first, GeoFace3 tool, Tolerance tolerance)
Parameters
firstGeoFace3The face.
toolGeoFace3The face; it has to lie in the first shape's plane.
toleranceToleranceThe 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.