centroidAreaNormal MethodStatic

Return a Ray3d with:

  • origin is the centroid of the region,
  • direction is a unit vector perpendicular to the region plane,
  • a is the region area.

centroidAreaNormal(region: AnyRegion, result?: Ray3d): undefined | Ray3d

Parameter Type Description
region AnyRegion the region to process. Can lie in any plane.
result Ray3d optional pre-allocated result to populate and return.

Returns - undefined | Ray3d

Defined in

Last Updated: 07 June, 2025