centroidAreaNormal MethodStatic

Return a Ray3d with (assuming the polygon is planar and not self-intersecting):

  • origin at the centroid of the (3D) polygon
  • direction is the unit vector perpendicular to the plane
  • a is the area.

centroidAreaNormal(points: IndexedXYZCollection | Point3d[]): undefined | Ray3d

Parameter Type Description
points IndexedXYZCollection | Point3d[]  

Returns - undefined | Ray3d

Defined in

Last Updated: 21 November, 2024