Method GetCentroid
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GetCentroid()
Gets the centre of the material, every opening cut out, using the default tolerance.
public GeoPoint3 GetCentroid()
Returns
GetCentroid(Tolerance)
Gets the centre of the material, which is its centre of mass: the faces with every opening cut out.
public GeoPoint3 GetCentroid(Tolerance tolerance)
Parameters
toleranceToleranceThe tolerance the openings are cut out within.
Returns
- GeoPoint3
The centroid; the middle of the body's box where the openings take all of it, and the average of the corners where the faces enclose no volume.
Remarks
A bolt hole moves the centre of a plate away from it. The material is the one GetVolume(Tolerance) measures, cut once.