Property Contact
- Namespace
- GeometryHelper
- Assembly
- GeometryHelper.dll
Contact
Gets how far apart a face of the second body may lie from a face of the first, parallel to it, and still be taken as lying against it; nought takes the bodies as they come.
public double Contact { get; }
Property Value
Remarks
Each face of the second body that lies parallel to a face of the first, either way round, within the angle of the tolerance, with every corner of it within this distance of that face's plane and the boxes of the two meeting, is put onto that plane before the boolean: its corners are moved onto the plane, the corners the second body's other faces share with it moved with them, and those faces built again from their corners (see FromLoops(IEnumerable<GeoPoint3>, IEnumerable<IEnumerable<GeoPoint3>>, Tolerance)). The first body is not moved, and keeps the exactness of the tolerance; the second moves by no more than this distance, and only where it touches the first. Where moving it would leave it open, or leave too little of it to build a body, it is taken as it came. A face lying on such a plane within the tolerance already is not moved: the boolean takes it as lying there.
A face of the second body standing off the first at a slant, nearer than this at one end and further at the other, is not moved, and what lies between the two is cut as it is. A hundredth suits a Tekla model in millimetres: its parts come up to a few thousandths of a millimetre into or off each other.