Method Section
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
Section(GeoPlane3)
Gets where a plane cuts the material, using the default tolerance.
public GeoFace3[] Section(GeoPlane3 plane)
Parameters
planeGeoPlane3
Returns
- GeoFace3[]
Section(GeoPlane3, Tolerance)
Gets where a plane cuts the material: the faces the cut leaves, holes and all, facing along the plane's normal.
public GeoFace3[] Section(GeoPlane3 plane, Tolerance tolerance)
Parameters
Returns
- GeoFace3[]
One face per region of the cut; empty where the plane misses the body or only grazes it.
Remarks
The material is cut, so a hole the plane passes through is a hole in the section, and a body in two pieces gives two faces. A plane lying along a face of the body touches it without cutting it, and gives nothing there: the section is where the body has material on both sides of the plane.
Asked at a point tolerance below the rounding of the coordinates, a quadrillionth of the largest of them, nought among them, the plane cuts the material within what rounding can move a corner off a plane, a trillionth of the size of the coordinates: within the tolerance asked, the two faces beside an edge each cut their own copy of it a rounding apart, and the rim did not close. At nought a plate 200 by 100 by 3 turned about in space, at the origin or a million out, had no section, where a plane square to its face cuts 20 000 of it and one across its length 300; with a hole 20 by 20 through it, it cuts 19 600, the hole in it. It is cut so too at and above the rounding while the point tolerance is below both that trillionth and a millionth: a million out, at 2E-9, twice the rounding, or at 1E-7, the plate had no section either. At a millionth and above, the default tolerance among them, the material is cut as it was, to the bit.
A body far out, as GetVolume(Tolerance) says, is moved near the origin with the plane, by whole coordinates, cut there, and the section moved back. Where it stood, walls of openings a fraction of the tolerance apart were cut in one plane: a plate 200 by 100 by 3 a hundred million out, with two openings up from its floor whose ceilings stood 0.00015 apart, cut square to its length through the deeper opening, gave 195, the opening as shallow as the other, where the plane cuts 194.9895 of it; it gives that now, to 3E-7.